On Ubuntu, it looks like the best place for a private key used to sign a certificate (for use by nginx) is in /etc/ssl/private/
This answer adds that the certificate should go in /etc/ssl/certs/
but that seems like an unsafe place. Do .crt
files need to be kept safe or are they considered public?