5

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?

Videonauth
  • 33,045
  • 16
  • 104
  • 120

1 Answers1

7

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
Florian Diesch
  • 86,013
  • 17
  • 224
  • 214