You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Axel-Stéphane SMORGRAV <Ax...@europe.adp.com> on 2004/11/25 11:42:59 UTC
[users@httpd] RE: VHost with ssl
Have you remembered to set SSLEngine ON in your :443 VH??
Also remove the NameVirtualHost for :443. Name-based hosting will not work with SSL.
-ascs
-----Message d'origine-----
De : Eimantas Vaičiūnas [mailto:eimantas.vaiciunas@sc.vu.lt]
Envoyé : jeudi 25 novembre 2004 09:56
À : users@httpd.apache.org
Objet : [users@httpd] VHost with ssl
Hi list,
I've been having a problem setting up a server (Apache 2.0.52 on Trustix-2.2) with two virtual hosts. One simple (on port 80) other - ssl-host (on port 443).
When i make a request to ssl host the browser gives me an error:
"The connection to https://{host} was terminated....".
This is my config file:
---
NameVirtualHost xxx.xxx.xxx.xxx:80
NameVirtualHost xxx.xxx.xxx.xxx:443
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName simple.host.com
DocumentRoot /home/httpd/html
...
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:443>
ServerName ssled.host.com
DocumentRoot /home/httpd/ssl_host ...
</VirtualHost>
---
Now the simple host works just fine. SSL'ed - doesn't work at all.
Error log says:
---
[Thu Nov 25 09:50:09 2004] [notice] Apache configured -- resuming normal operations [Thu Nov 25 09:50:15 2004] [error] [client xxx.xxx.xxx.xxx] Invalid method in request \x80g\x01\x03 [Thu Nov 25 09:52:19 2004] [error] [client xxx.xxx.xxx.xxx] Invalid method in request \x80g\x01\x03
---
Any ideas are much apreciated.
--
Eimantas Vaičiūnas
VU Skaičiavimo centras
---------------------------------------------------------------------
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
Re: [users@httpd] RE: VHost with ssl
Posted by Eimantas Vaičiūnas <ei...@sc.vu.lt>.
On Thursday 25 November 2004 12:42, Axel-Stéphane SMORGRAV wrote:
> Have you remembered to set SSLEngine ON in your :443 VH??
>
> Also remove the NameVirtualHost for :443. Name-based hosting will not work
> with SSL.
Ah yes, i had to enter it in included config file (with SSLCertificateFile and
SSLCertificateKeyFile). Though NameVirtualHost ...:443 works.
--
Eimantas Vaičiūnas
VU Skaičiavimo centras
---------------------------------------------------------------------
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