sslverify => false just stopped working for wp_remote_post
-
I was working on my plugin all last week with no troubles, and then last night, my plugin (EWWW Image Optimizer) started throwing warnings about the ssl certificate. I already knew the certs were not valid, because the plugin connects by a dynamically retrieved IP address instead of hostname. So I checked my code, and I’m using the sslverify flag during wp_remote_post to generally ignore the “errors”. Any ideas why this would start happening all of a sudden?
I have no other plugins active, and using the default twenty fifteen theme on my dev site with PHP 5.6.4 on Ubuntu 15.04.
Just in case there are any doubts (I wasn’t sure myself), I was doing howto videos on Friday, where I specifically demonstrated the particular functionality which is now throwing the errors.
UPDATE: I also tried using the ‘https_ssl_verify’ and ‘https_local_ssl_verify’ filters to test the sslverify value, and they both show that it IS already set to false, and I return false via the function just to be safe, and then the error still occurs in the same function call.
- The topic ‘sslverify => false just stopped working for wp_remote_post’ is closed to new replies.