Click to See Complete Forum and Search --> : Installing an SSL server on redhat 9? So it only uses SSl and not port 80.


cte
11-18-2003, 12:45 AM
Just hoping someone out there could point me in the right direction, someone who has done this. I find that Redhat's documentation is somewhat lacking.

What do I need to do to httpd.conf, etc.

Can't search on this since there are some wierd restrictions on search's.:confused:

Thanks in advance.

blizz
11-18-2003, 12:57 PM
To get you started in your httpd.conf file add a section like so for your domain. Notice the port 443

<VirtualHost 172.58.116.45:443>
DocumentRoot /etc/httpd/htdocs
ServerName www.somewhere.com
ErrorLog /etc/httpd/logs/error_log
TransferLog /etc/httpd/logs/access_log
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt
</VirtualHost>

cte
11-19-2003, 11:44 PM
Allright, I think I'm getting this. So you add another viritual host just for the SSL connection. So then they will connect like normal through port 80 and then I just forward it to the virtual 443 host? I haven't been able to find one good reference, tutorial, or anything on the web for this.

Frustrating...

Also is the IP just the same as the machine or can you actually set up virtual IP's? I've never dealt with this stuff before so this is quite interesting. I imagine if this IP differs from the whole systems then there is probably stuff you have to change on the system side as well???