Displaying a remote SSL certificate details using CLI tools

You should be able to use OpenSSL for your purpose: echo | openssl s_client -showcerts -servername gnupg.org -connect gnupg.org:443 2>/dev/null | openssl x509 -inform pem -noout -text That command connects to the desired website and pipes the certificate in PEM format on to another openssl command that reads and parses the details. (Note that “redundant” … Read more

Self signed certificate issue with WooCommerce rest api connection

You can disable the ssl verification by using ‘verify_ssl’ => false. So in your code you should change: [ ‘wp_api’ => true, ‘version’ => ‘wc/v3’, ‘sslverify’ => false, ] to: [ ‘wp_api’ => true, ‘version’ => ‘wc/v3’, ‘verify_ssl’ => false, ] Then you don’t need to change any source code.

SSL doesn’t work on certain pages – what is wrong?

If it’s all in one line, it will be commented out at # Redirect HTTP… as the # character is used for commenting in .htacces. Try: # REDIRECT HTTP TO HTTPS RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

How do I find non-SSL problems on my SSL page?

Do exactly what you’re doing: view the source of the offending page, and do a text search for “http://”. Anything with this protocol is “insecure”, and needs to be swapped to https. Common offenders are stylesheets, javascript, and 3rd-party widgets. If you can’t find any problems in the source, try using firebug’s “net panel”. It … Read more

How to keep WP from using https to get to wordpress.org?

You don’t need to turn off SSL on the server. You need to install an HTTP client method that supports SSL transport. This has nothing to do with your server supporting SSL as a server. In this case, WordPress is acting like a web-browser, and trying to make an HTTPS connection to WordPress.org, so that … Read more

How do I handle SSL properly when WP is behind a reverse proxy?

You can’t hook is_ssl() to override the result, and as you’ve noticed you can’t edit WordPress Core itself or your changes will get lost if you’re using built-in automatic updates. So the usual approach – see the WordPress documentation – is to set $_SERVER[‘HTTPS’] = ‘on’;, which is the property is_ssl() tests. Add the following … Read more

All content is HTTPS, but browsers warn of HTTP mixed content [closed]

You have “www.wisconsinwetlands.org” URLs redirecting to insecure “http://wisconsinwetlands.org“. The cases you have used these is in the images on the page. Every image that is set as “https://www.” redirects to the insecure version. So while you do need to fix that and correctly configure your setup so that both “www” and non-www URLs are secure, … Read more