Setting the SuSEfirewall2 to accept https connections requires a modification to /etc/sysconfig/SuSEfirewall2.
FW_SERVICES_EXT_TCP="ssh www 443 8888"
This definition allows the Internet to connect via ssh http https and a backdoor tomcat server. Apply the new rules with,
sudo /sbin/SuSEfirewall2 start
Configuring the Default SuSE Apache 2.2 SSL
Useful guides can be found in /usr/share/doc/packages/apache2. Check out README, README.QUICKSTART, README.QUICKSTART.SSL and README.SUSE.
Define a NameVirtualHost in /etc/apache2/listen.conf
NameVirtualHost www.example.com:443
Enable the ssl configuration by copying /etc/apache2/vhosts.d/vhosts-ssl.template to vhosts-ssl.conf (only files with the extension conf will be read). Change the line with _default_ as indicated below.
Create a Test Certificate
cd /usr/share/doc/packages/apache2
sudo ./certificate.sh
Restart Apache
sudo /etc/init.d/apache2 restart
No comments:
Post a Comment