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 (wit

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

2009-07-17 Thread rank1seeker
tch, as you can have cert just for one domain! - Original Message - From: Igor Cicimov 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. > > > 1. Outside s

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" To: users@httpd.apache.org Date: Thu, 16 Jul 2009 15:10:25 +0200 Subject: Re: [us...@httpd] SSL cert for alias too > > SSL c

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. > > > -- > Aaro

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 http://httpd.apache.org/userslist.html>

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: ServerName domain.com ServerAlias www.domain.com RewriteEngine On RewriteCond %{SERVER

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

2009-07-15 Thread Aaron Turner
On Wed, Jul 15, 2009 at 12:34 PM, 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 wildcard CommonName (CN)

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

2009-07-15 Thread rank1seeker
name!? After AND IF client ignores warning, he gets redirecteted properly What now? SSL cert for each, as SSL wildcard doesn't work in this case. - Original Message - From: Igor Cicimov To: users@httpd.apache.org Date: Wed, 15 Jul 2009 13:28:48 +1000 Subject: Re: [us...@httpd] SS

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, wrote: > Anyway, I have a domain.com and it's allias www.domai

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, wrote: > 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, t

[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 I