I have a SSL related redirection problem with ISS as follows:http://example.com redirects to https://example.comThis works perfectly.http://www.example.com redirects to https://www.example.comDoes not work perfectly, browsers report an issue with the SSL certification. Question(s):How can I resolve the issue with either the redirect or SSL certification?
IIS NON-WWW to WWW Rewrite Issue with SSL certificate
https;url rewriting;security certificate;iis;no www
You should check the common name on the certificate you purchased from your CA. While some CA's will give you a bonus subject alternate name of www.example.com if you buy a certificate using common name of example.com (and vice versa), others do not and your cert could just be bound to the common name of example.com.Your certificate error doesn't look to be related to your redirect but to the common name bound to the certificate. Any web browser should give you the ability to view additional details on that certificate warning in order to determine why the warning is getting thrown. 