I was setting up SSL on our local Debian box at work, and needed to generate a new cert.

apache2-ssl-certificate failed to work though, so what have they done with it?

Well, they’ve moved it. If you’re setting up SSL for the first time, a nice workaround is:

# mkdir /etc/apache2/ssl
# /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

Image Credit: Gwen Vanhee