I’m upgrading my server from an old Debian 8 to a newer Ubuntu Server 16.04.
I’ve noticed that the certbot versions are quite different between those two: 0.10 on Debian and 0.21 on Ubuntu. And as I’m trying to move my certificates to the new server, I’ve discovered that the directory structure under /etc/letsencrypt/ has changed as well. Also, I was using
--webroot (because nginx was not, or badly supported with 0.10), but
--nginx seems to be working fine now on 0.21.
So, my question is: what is my best course of action? (issuing new certificates on the new server? moving the old certificates to the new server and, if so, how? is it really safe to use
--nginx now? I haven’t seen a post explaining what it does exactly).
EDIT: well, I finally was able to try
certbot --nginx on a temporary domain. The directory structure is not that different in the end, just a few more config files (
ssl-dhparams.pem, etc…) and the directory
renewal-hooks, that’s all.
That being said, I’m still unsure if I can simply reuse the certificates from my old server?
My domain is: mesamatrix.net
My web server is: nginx/1.10.3 (Ubuntu)
The operating system my web server runs on is: Ubuntu Server 16.04
I can login to a root shell on my machine: yes
I’m using a control panel to manage my site: no