CM HTTPS SLL (CMHTTPS) - Resolving SSL Certificate Detection Issues

Resolving Issues When an SSL Certificate Cannot Be Detected 

Back to User Guide

If the plugin does not locate the SSL, it will not work as expected. Usually, this is caused by the SSL being misconfigured.

The reason can be located if your website setup is defined properly for external visitors (in such case, you can see that external SSL Validators services are verifying your certificate properly).

However, if the plugin runs inside your environment, it will try to validate your certificate and connect it internally with your website. So, there can be plenty of reasons that the internal connection doesn't work.

I'm sure that my certificate is correct

In this case, go to "General Settings" and enable the option "Skip certificate detection".

Troubleshooting for administrators

Let your administrator check the following PHP code and test why this is returning the SSL error (replace the 'siteurl' on the first line with your URL address): 

$url = get_option( 'siteurl' );
$url = parse_url($url, PHP_URL_HOST);
$g = stream_context_create (array("ssl" => array("capture_peer_cert" => true)));
$r = stream_socket_client("ssl://" . $url . ":443", $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $g);
$cont = stream_context_get_params($r);
$cert = $cont["options"]["ssl"]["peer_certificate"];

$detected = (!is_null($cert) AND is_resource($cert));


More information about the CM WordPress HTTPS SSL Pro WordPress  Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.