I am setting up a Virtual Machine with Ubuntu 10.04 Lucid Lynx Server.
I have been reading the section on setting up Apache with an SSL certificate within the book : "Beginning Ubuntu LTS Server Administration - 2nd Edition"
Contrary to the official documentation, the book advises to always use a 'pass phrase' when setting up Apache with SSL (to protect your reputation if the private SSL key is compromised).
If you set-up a 'pass phrased SSL key' then you are required to type a pass phrase each time you start Apache. This is a slight problem if Apache starts up automatically when Ubuntu boots up.
On page 338 it then offers a tip to prevent Apache from starting up at boot time.
...To ensure that it doesn't start automatically, enter the line
I have modified that
/etc/default/apache2 file accordingly, rebooted and Apache2 is still trying to start-up upon boot. The
NO_START=0 line seems to have no effect.
As I look through forums on the web, it seems that most people have issues and then end up skirting the problem by simply using a certificate without a pass phrase.
Does anyone know the the best practice method of preventing Apache from starting up at boot time for a passphrased secure SSL'd Apache?