Getting WP Super Cache to work on localhost with HTTPS
-
Working on a localhost version of my https live site.
Trying to test it [
Test Cache] with the feature with my live sites certificate I get the errorFetching http://localhost/mysite/ to prime cache: FAILED Errors: : cURL error 60: SSL certificate problem: unable to get local issuer certificateTrying it with a self-signed certificate OpenSSL and cacert.pem in a properly configured localhost WAMP configuration I get the error:
Fetching http://localhost/mysite/ to prime cache: FAILED Errors: : cURL error 60: SSL certificate problem: self signed certificateI even tried disabling SSL verification off in the WordPress init
add_action( 'init', 'sslfalse' ); function sslfalse() { $ch = curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); }And I still get the same error regardless.
Is there a way to get WP Super Cache to work on localhost along with HTTPS?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Getting WP Super Cache to work on localhost with HTTPS’ is closed to new replies.