Dronealone
IS-IT--Management
Hi,
I've followed the article on Devshed on installing Mod_SSL with Apache on Linux.
The install all appears to go fine. I generate keys etc, no problems.
I stop Apache and then restart with apachectl sslstart. And it starts fine. It can serve up http:// pages fine. However trying to access https:// pages the browser just hangs.
I understand that running virtual hosts you have to specify whether each host is running SSL. I've used the format below:
<VirtualHost xx.xx.xx.xx>
ServerName domain.co.uk
ServerAdmin sysop@domain.co.uk
DocumentRoot /path
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
</VirtualHost>
However Apache will not allow this and tells me that SSLEngine is not understood. I do an httpd -l and cannot see mod_ssl.
How can this be, after it has installed, and I can see the process:
/usr/local/apache/bin/httpd -DSSL
Any ideas much appreciated, doing my head in on this one!
Thanks.
I've followed the article on Devshed on installing Mod_SSL with Apache on Linux.
The install all appears to go fine. I generate keys etc, no problems.
I stop Apache and then restart with apachectl sslstart. And it starts fine. It can serve up http:// pages fine. However trying to access https:// pages the browser just hangs.
I understand that running virtual hosts you have to specify whether each host is running SSL. I've used the format below:
<VirtualHost xx.xx.xx.xx>
ServerName domain.co.uk
ServerAdmin sysop@domain.co.uk
DocumentRoot /path
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
</VirtualHost>
However Apache will not allow this and tells me that SSLEngine is not understood. I do an httpd -l and cannot see mod_ssl.
How can this be, after it has installed, and I can see the process:
/usr/local/apache/bin/httpd -DSSL
Any ideas much appreciated, doing my head in on this one!
Thanks.