How to enable SSL on Apache 2 for SLES 10
This document (3771891) is provided subject to the disclaimer at the end of this document.
Enable SSL on Apache 2.2 for SUSE Linux Enterprise Server 10 for the default host.
2. Go back to HTTP server and go to the Server Modules tab. Chose the SSL module and click on Toggle Status to change it to Enabled.
3. Go to /etc/apache2/vhosts.d and copy vhost-ssl.template into a new file vhost-ssl.conf. This file has all the settings for the default host to run on SSL port.
4. Open the file vhost-ssl.conf for editing and find the line that start with the directive
SSLCertificateFile. Point this directive to/etc/ssl/servercerts/servercert.pem, e.g.
Do the same for the directive SSLCertificateKeyFile and point it to /etc/ssl/servercerts/serverkey.pem:
Both files were created during the install of the server, when the CA was created for the server.
5. Enable SSL port (port 443) on the firewall. By default this port is close for the external traffic. Go to YaST -> Security and Users -> Firewall. Click on Allowed Services and chose HTTPS Server from the drop down menu and click Add. HTTPS Server will be added to the list of allowed services for the firewall. Click Next and Accept.
6. After restarting apache (rcapache2 restart), the Apache 2 default host will be available on the standard SSL port (443).
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3771891
- Creation Date:02-APR-08
- Modified Date:26-APR-13
- SUSESUSE Linux Enterprise Server
Did this document solve your problem? Provide Feedback< Back to Support Search