httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Odhiambo Washington <w...@wananchi.com>
Subject Re: [users@httpd] apache-2.0.44 +SSL + Non-SSL VirtualHosts (FAQ??)
Date Wed, 26 Feb 2003 13:26:48 GMT
* Nikunj Virani <nikunj@netsurf.co.in> [20030226 14:57]: wrote:
> Make sure you have mod_ssl loaded with your apache. There are good
> documentation for Open SSL at:
> 
> http://www.modssl.org/docs/2.8/ssl_overview.html.
> http://httpd.apache.org/docs-2.0/mod/mod_ssl.html
> http://httpd.apache.org/docs-2.0/ssl/
> 
> A fast track configuration for ssl might include:
> 
> 1. Making sure u have mod_ssl module loaded with apache.


I have this in httpd.conf:

<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>



Then,

beastie# /usr/local/apache2/bin/httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
beastie#

> 2. Adding listen directive on apache
> Listen ip:443


I have that one in ssl.conf


> 3. Setting VirtualHost
> <VirtualHost 192.168.100.100:443>
> ServerName xyz.com
> DocumentRoot /var/www/html/xyz.com
> ErrorLog /var/log/httpd/xyz.log
> 
> //Default Certificate and key file
> SSLEngine on
> SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
> SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> </VirtualHost>


Those entries are rejected in my config. My Virtual hosts are
included from httpd.conf. I have included them from ssl.conf
and now the SSL* works.

Thanks



-Wash

-- 
Odhiambo Washington   <wash@wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)


When God endowed human beings with brains, He did not intend to
guarantee them.

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