On Thu, Aug 14, 2008 at 9:59 AM, Gaurav Pruthi <[EMAIL PROTECTED]> 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 -- Eric Covener [EMAIL PROTECTED] --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]