Dear All,
Recently i bought a ssl certificate. Mistakenly i gave cn=
www.domain.com in the CSR provided. Now the issue is that when i open my website in browser having URL:
https://www.domain.com there is no issue but when i am opening it without prepending www i.e.
https://domain.com an error is thrown,
Secure Connection Failed
domain.com uses an invalid security certificate.
The certificate is only valid for
www.domain.com
(Error code: ssl_error_bad_cert_domain)
Is there any way out that whenever anyone opens
https://domain.com it redirects to
https://www.domain.com
Even after requesting, the provider is asking to put another request for a new certificate instead of replacing the old one for which i will have to spend more money.
Kindly help !!!
Regards,
Gaurav Pruthi