[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] SSL & httpd.conf editing



Ok, 
 
 
    I have tried to RTFM and it leads nowhere that I can see. According to Cobalt Knowledge Base for being to enable Virtual Users you should follow the directions in Question # 715 Which also refer to the RaQ2 only. I have a RaQ1. What I have is a .crt for a virtual site and have followed the Cobalt Secure Web Server 1.0 manual for creation of the necessary files and proper placement. However it does not say how to implement it past that. If I follow the directions for Apache-SSL it doesn't work either. Both refer to httpsd.conf in the etc/httpsd/conf folder. There is only a httpd.conf in there, if I rename it to httpsd.conf when I restart the secure server it errors out saying it can't find the configuration file. So I rename it back to httpd.conf and it works but I cannot get it to stay on a secure connection for any folders below the main root folder of the virtual host. I have tried several different configurations of the httpd.conf in the httpsd folder all with out having a secure connection below the main root folder of my site. If someone could give me a little direction it would be greatly appreciated.
 
examples of the virtual host settings below
 
Thanks
 
 
Patrick Agee
pagee@xxxxxxxxxxxxxx
 
Cobalts Recommendation for RaQ2
 
<VirtualHost Hostname:443>
DocumentRoot /YOUR/PATH/HERE
SSLEngine on
SSLCertificateFile    /etc/httpd/conf/ssl.crt/whatever.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
</VirtualHost>
Gives error of SSLLog not found
 
 
Apache SSL recommendation
 
<!--StartFragment--><VirtualHost localhost>
ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxxx
DocumentRoot /www/docs/host.some_domain.com
ServerName hostA.domain.com
</VirtualHost>

<VirtualHost localhost:443>
SSLEnable
SSLCACertificateFile /usr/local/ssl/certs/localhost.cert
SSLCertificateFile /usr/local/ssl/certs/localhost.crt
SSLCertificateKeyFile /usr/local/ssl/private/localhost.key
</VirtualHost>