On Sat, 2003-08-02 at 16:38, Stefano Pogliani wrote:
> I am struggling in having an Apache virtual host defined to support SSL.
> 
> I have seen, though, that in the ssl/sss.default_vhost.conf file, the 
> error log for the SSL connection is defined to be logs/ssl-error_log.
> Actually, in the /var/log/httpd directory I can only see a ssl_error_log 
> file (underscore instead of dash).
> This file does not contain any error that I could use to debug what I am 
> doing (i.e. if I use https://webmail.myname.myext). But, eah time 
> apachectl is restated, there are TWO lines telling me that the 
> certificate for
> 
>   localhost.L1HQJg does NOT match server name!?
> 
> Ok, so, it seems that the ssl_error_log file is accessed at least at 
> startup.
> 
> My system only accepts https://localhost/ and, in this case, I can 
> clearly see the famous certificate for localhost.L1HQJg.
> 
> So, I am confused:
> 
>  1. why the ssl logs are written to the "wrong file"
>  2. why in this "wrong file" I always get two lines of warning at
>     startup ?
> 
> Now, in addition to this, I wanted to create an SSL virtual host for a 
> new server, called webmail.poglianis.net. For this:
> 
>  1. I have created a server.key and a server.crt in a new directory
>     for a server named webmail.poglianis.net
>     I have "duplicated" the _default_:443 vhost directives (in
>     ssl.default_vhost.conf) for my server 192.168.0.2:443 with
>     ServerName=webmail.poglianis.net (I changed the location of crt
>     and key files)
> 
>  2. Now, any time I type https://webmail.poglianis.net, I get a box
>     telling me that the "connection with webmail.poglianis.net has
>     terminated unexpectedly. Some data may have been transferred". But
>     actually I do not see my web page.
> 
>  3. And, in the standard "error_log" file (NOT the ssl_error_log NOR
>     the unexistent ssl-error_log) I see the line "Invalid method in
>     request g^A^C">
> 
>  4. In the standared "access_log" file (again, NOT the ssl_access_log
>     NOR the expected ssl-access_log) I see the line:
>     scarlet.poglianis.net - - [01/Aug/2003:18:35:34 +0200]
>     "\x80g\x01\x03" 501 408 "-" "-"
> 
> Could someone pls help me in understanding what I am doing wrong?
> 
> Thanks a lot in advance. Best regards
> /stefano

Stefano:

You can only have one virtual host serving SSL requests.

Adolfo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to