Re: [us...@httpd] SSL cert for alias too

2009-07-17 Thread rank1seeker
I've never even saw, an example of 2 certs for 2 domains in same VH Show me httpd.conf syntax You need two certs. www.domain.com and domain.com. Redirect won't work in this case because it is done at the HTTP layer and the SSL handshake occurs before the GET request. -- Aaron

Re: [us...@httpd] SSL cert for alias too

2009-07-17 Thread rank1seeker
You can not, as SSL mismatch error is trigered for one in FF for example and all other major browsers - Original Message - From: Jonas Eckerman jonas_li...@frukt.org To: users@httpd.apache.org Date: Thu, 16 Jul 2009 15:10:25 +0200 Subject: Re: [us...@httpd] SSL cert for alias too SSL

Re: [us...@httpd] SSL cert for alias too

2009-07-17 Thread rank1seeker
will get SSL cert mismatch, as you can have cert just for one domain! - Original Message - From: Igor Cicimov icici...@gmail.com To: users@httpd.apache.org Date: Thu, 16 Jul 2009 14:36:04 +1000 Subject: Re: [us...@httpd] SSL cert for alias too Of course it works if you do it right

Re: [us...@httpd] SSL cert for alias too

2009-07-17 Thread Jonas Eckerman
rank1see...@gmail.com wrote: Use one cert issued for both hosts. You can not, as SSL mismatch error is trigered for one in FF for example and all other major browsers Not when I test with FF or IE. For example, the following three hostnames (on three vhosts) uses the same certificate (with

Re: [us...@httpd] SSL cert for alias too

2009-07-16 Thread Jonas Eckerman
SSL cert for each, as SSL wildcard doesn't work in this case. Use one cert issued for both hosts. /jonas - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] SSL cert for alias too

2009-07-15 Thread rank1seeker
] SSL cert for alias too Just get the certificate for www.domain.com and redirect all the request for domain.com to www.domain.com in the virtual host section (or httpd.com file if you have only one host) and problem solved

Re: [us...@httpd] SSL cert for alias too

2009-07-15 Thread Aaron Turner
On Wed, Jul 15, 2009 at 12:34 PM, rank1see...@gmail.com wrote: I did a redirect, that works both for http and https. But still... Request for domain.com just BEFORE redirect to www.domain.com, Issues warning in browser and in my apache error log I get line: [warn] RSA server certificate

Re: [us...@httpd] SSL cert for alias too

2009-07-15 Thread Igor Cicimov
Of course it works if you do it right. 1. Outside ssl virtual host: RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://www.domain.com$1 [R=301,L] 2. Inside the ssl virtual host: VirtualHost _default_:443 ServerName domain.com ServerAlias www.domain.com

[us...@httpd] SSL cert for alias too

2009-07-14 Thread rank1seeker
Anyway, I have a domain.com and it's allias www.domain.com. All point to the same site. If I make cert for domain.com, then mismatch warning for www.domain.com arises. And if I make cert for www.domain.com, then mismatch warning for domain.com arises. Wildcard cert allso yielded no results as

Re: [us...@httpd] SSL cert for alias too

2009-07-14 Thread Igor Cicimov
Just put redirection in that virtual host that will redirect the requests for domain.com to www.domain.com and problem solved. On Wed, Jul 15, 2009 at 11:40 AM, rank1see...@gmail.com wrote: Anyway, I have a domain.com and it's allias www.domain.com. All point to the same site. If I make cert

Re: [us...@httpd] SSL cert for alias too

2009-07-14 Thread Igor Cicimov
Just get the certificate for www.domain.com and redirect all the request for domain.com to www.domain.com in the virtual host section (or httpd.com file if you have only one host) and problem solved. On Wed, Jul 15, 2009 at 11:40 AM, rank1see...@gmail.com wrote: Anyway, I have a domain.com and