If you have installed SLES (but not OES), typically SSL is not enabled. There are many articles on the Internet that deal with this, but they always seem so convoluted, and seem to expect that admins have more knowledge of Apache than they actually do. So, here’s a quick and easy how-to on getting this accomplished. While we aren’t going to assume you know a lot about Apache, it is assumed that you can get to a terminal window!
First, go to a terminal window and type:
a2enmod -l
a2enmod ssl
copy vhost-ssl.template to vhost-ssl.conf
Using your text editor of choice, edit the info as needed in vhost-ssl.conf – for example, make sure the SSL Engine Switch is turn on:
SSLEngine on
Next, find the section for the certificate files. It should look like this:
SSLCertificateFile /etc/ssl/servercerts/servercert.pem
SSLCertificateKeyFile /etc/ssl/servercerts/serverkey.pem
In this instance, we are simply using the the default server certificate files to show you how to do this. If you are purchasing trusted certificates from a commercial certificate authority, put the files you receive from them in a location accessible to Apache2 and use those file paths. If your official certificates have an intermediary certificate, you may also need a line like
SSLCertificateChainFile /etc/apache2/ssl.crt/gd_bundle.crt