Is my understanding that Apache2

... default HTTPS configuration will use a certificate and key
generated by the ssl-cert package.

That mean that the files ssl-cert-snakeoil.pem and ssl-cert-snakeoil.key are unique per each ssl-cert installation? Where is the script that generates them?


They are created by in the post-installation script of the ssl-cert package (/var/lib/dpkg/info/ssl-cert.postinst) by calling make-ssl-cert:

make-ssl-cert generate-default-snakeoil

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.