Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ModSSL and Vhosts

Status
Not open for further replies.

janderson622

Technical User
Aug 10, 2001
27
US
Hi,

I setup Apache 2.0.43 and OpenSSL 0.9.6g on my server.

I succeeded in making a self signed certificate, but when I created a "new" virtual host to handle my https traffic, I ended up not being able to access my other virtual hosts, getting a 400 page error.

My "ssl vhost" was setup like this, I'm using NameVirtualHosts:
>>
<VirtualHost 123.45.67.8>
SSLEngine On
ServerName ServerAdmin webmaster@example.com
DocumentRoot /path/to/the/files
Logformat combined
ErrorLog /path/to/the/logs/error_log
TransferLog /path/to/the/logs/access_log
SSLCertificateKeyFile /path/tothe/private/cert/cakey.crt
SSLCertificateFile /path/tothe/cert/cacert.crt
</VirtualHost>
>>

Any advice on where to find a good howto for virtual hosts and SSL? Or any advice on how to fix my screw-up?

Also, can someone post an example of a very simple &quot;pp-filter&quot; program that will pass the passphrase typing when apache restarts?

Thanks in advance.


--John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top