Certificate default name changes

can I change my default certificate name from “cert.pem” -> “mydomaincert.pem”.

same as both fullchain.pem, chain.pem, and pirvkey.pem

Thanks in advance

You can name your certificates like you want to. However, if you use certbot, you should not rename any files in its directory structure.

1 Like

You can also create your own symbolic link elsewhere, like

ln -s /etc/letsencrypt/example.com/live/cert.pem /home/user/mydomaincert.pem

If you rename files in /etc/letsencrypt/live, the certbot renew command will break.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.