How do I make the certificate cover both the main domain and a subdomain which redirects to the main domain?
I have installed the plugin, and it is working correctly for the site's main domain - caidn.co.uk.
DNS also defines www.caidn.co.uk sub-domain, which nginx redirects to caidn.co.uk. The redirect works fine (at least in chrome), and users end up at https://caidn.co.uk without any issues.
However, google webmaster tools, have issued the following warning:
SSL/TLS certificate doesn’t match your site URL https://www.caidn.co.uk/
To: Webmaster of https://www.caidn.co.uk/
Google has detected that the SSL/TLS certificate used on https://www.caidn.co.uk/ has been issued for caidn.co.uk and doesn’t match your preferred site URL. Browsers consider both www and non-www versions of a domain to be different sites. This means that the SSL/TLS certificate on your site is issued for the wrong domain, and that some browsers will not consider your website secure. As a result, many web browsers will block users accessing your site by displaying a security warning message. This is done to protect users’ browsing behavior from being intercepted by a third party, which can happen on sites that are not secure.
Thanks, Martin
How do I make the certificate cover both the main domain and a subdomain which redirects to the main domain?
I have installed the plugin, and it is working correctly for the site's main domain - caidn.co.uk.
DNS also defines www.caidn.co.uk sub-domain, which nginx redirects to caidn.co.uk. The redirect works fine (at least in chrome), and users end up at https://caidn.co.uk without any issues.
However, google webmaster tools, have issued the following warning:
SSL/TLS certificate doesn’t match your site URL https://www.caidn.co.uk/
To: Webmaster of https://www.caidn.co.uk/
Google has detected that the SSL/TLS certificate used on https://www.caidn.co.uk/ has been issued for caidn.co.uk and doesn’t match your preferred site URL. Browsers consider both www and non-www versions of a domain to be different sites. This means that the SSL/TLS certificate on your site is issued for the wrong domain, and that some browsers will not consider your website secure. As a result, many web browsers will block users accessing your site by displaying a security warning message. This is done to protect users’ browsing behavior from being intercepted by a third party, which can happen on sites that are not secure.
Thanks, Martin