httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <uh...@fantomas.sk>
Subject Re: [users@httpd] ssl certifikate mismatch
Date Mon, 24 May 2010 12:46:46 GMT
On 14.05.10 22:51, Reinhard Vicinus wrote:
> is the following behaviour of apache 2.2.15 (debian unstable) a feature  
> or a bug?
>
> Listen 10.0.0.1:81
> <VirtualHost 10.0.0.1:81>
>   SSLEngine on
>   SSLCertificateFile /etc/apache2/conf/aaa.crt
>   SSLCertificateKeyFile /etc/apache2/conf/aaa.key
>
>   ServerName aaa
> </VirtualHost>
>
> Listen 10.0.0.2:81
> <VirtualHost 10.0.0.2:81>
>   SSLEngine on
>   SSLCertificateFile /etc/apache2/conf/bbb.crt
>   SSLCertificateKeyFile /etc/apache2/conf/bbb.key
>
>   ServerName aaa
> </VirtualHost>
>
>
> > curl https://bbb:81
>  SSL: certificate subject name 'aaa' does not match target host name 'bbb'

does 'bbb' point to 10.0.0.2?

> > curl https://10.0.0.2:81
>  SSL: certificate subject name 'aaa' does not match target host name  
> '10.0.0.2'

you can expect this one, when accessing server via IP address.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese. 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message