Setup SSL on your Slice after Launching with Deprec - "a2enmod not found"
January 25th, 2008
I had to do a little digging, but setting up SSL on your server from Slicehost after launching it with the Deprec gem is not so bad. The issues caused by deprec that make these instructions for setting up SSL on Ubuntu Feisty not work are:
- Deprec install Apache2 to a non-standard location. Which means file locations are all mixed up.
- Deprec does not install the a2enmod method for Apache. This causes an error ("a2enmod not found") when it comes time to enable SSL in the Apache config files.
No big deal, we can handle this. First step is to SSH into your slice and run the command
sudo apt-get install apache2.2-common
Now you should have a2enmod at your disposal. Follow all the instruction from the SliceHost wiki for setting up SSL on Ubuntu Feisty with Apache, but with three caveats:
- replace all references to
with/etc/apache2/usr/local/apache2 - to restart Apache server, run
instead ofsudo /etc/init.d/httpd restart
Optionally, you may also run this from your home computer insteadsudo /etc/init.d/apache2 force-reloadcap apache_restart - you have no ports.conf, so add port 443 to your httpd.conf
Listen 80
Listen 443
The rest of SliceHost's excellent tutorial with these minor tweaks should have you up and running in no time.
1 Response to “Setup SSL on your Slice after Launching with Deprec - "a2enmod not found"”
Sorry, comments are closed for this article.
February 8th, 2008 at 03:15 AM thanks for this. works perfectly.