Hi I currently have a web server running a *.example.com wildcard certificate from Network solutions, From what I understand *.example.com will serve anything except for the example.com as being trusted under SSL. The issue is visitors are hitting our site at
https://example.com instead of
https://www.example.com and getting a untrusted certificate warning or mismatch because example.com is not covered under the wild card right? So after speaking to network solutions they suggested that if I wanted
https://example.com to be a valid trusted certificate I should rewrite the access of the users from
https://example.com to
https://www.example.com. So I came up with the following rule:
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
The rule works but I am still getting the untrusted cert error when I hit
https://example.com. Can anyone chime in on what I can do to make
https://example.com trusted rather than purchasing an entirely separate certificate? for "example.com"?
Thanks