Re: SSL Certificate Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Covener wrote:
On Thu, Aug 14, 2008 at 9:59 AM, Gaurav Pruthi <gkpruthi@xxxxxxxxx> wrote:
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


Not before the security popup, because the handshake happens earlier
than the HTTP redirect can happen



Question to Eric :
Would it not be possible to define 2 Virtual Hosts, one for "domain.com" and one for "www.domain.com", and have the one for "domain.com" not do any kind of SSL handshake but immediately send a redirect to the "www.domain.com" ?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux