Apache webserver

Vdmeyulen.net draait apache 2.2 (13-12-2008)

SSL support

Apache gaf cleartext door op port 443. Hersteld door in ports.conf Listen 443 weg te commenten.

Zet eerst mod_ssl aan in /etc/apache.

Nu de SSL certificaten.

Now all thats left is to setup the SSL Certs. If you really don't care about having official certs, Slackware comes with pre-made ones, I use these, but if you ran a legit production webserver you would probably want to spend the money and have real certs made. You also have the option to create your own self-signed certs and if you are interested in that, jump all the way to the bottom of this Howto. Anyway, to use the premade certs run the following commands and say yes to overwrite: Code:

cp /etc/apache/ssl.crt/snakeoil-rsa.crt /etc/apache/ssl.crt/server.crt cp /etc/apache/ssl.key/snakeoil-rsa.key /etc/apache/ssl.key/server.key

Now all thats left to do is restart the apache server: Code:

/etc/rc.d/rc.httpd restart

If you want to make sure that SSL is working correctly run this command: Code:

netstat -tpan | grep 443

If everything is working correctly, you should get output that looks like the following: Code:

tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 27426/httpd

If you don't get any output whatsoever then someth

/share/Web/dokuwiki/data/pages/beheer/apache.txt ยท Laatst gewijzigd: 2013/12/23 13:46 door pieter
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5