Thursday, February 14, 2008

Instal Apache SSL on Ubuntu

Here are the list of installing Apache (version 1) with SSL on Ubuntu.
  • apt-get install apache libapache-mod-ssl
  • dpkg-reconfigure libapache-mod-ssl
  • fill in all details with your details
  • cp /usr/share/doc/libapache-mod-ssl/examples/mod-ssl.conf /etc/apache/conf.d/
  • cp /usr/share/doc/libapache-mod-ssl/examples/vhost.conf.gz /etc/apache/conf.d/
  • cd /etc/apache/conf.d/
  • gzip -d vhost.conf.gz
  • edit vhost.conf and change all snakeoil references to server. ie. snakeoil-dsa.crt = server.crt
  • stop apache
  • start apache
Have fun !!!

1 comment:

Unknown said...

That was less painful than I thought! I think the installation of Apache SSL worked quite well. How would this differ with other versions?