I am a bit confused after trying so many things so that I am no longer 100% sure which certificates I installed on my new server (VPS). Is there a way of checking this? I am afraid of simply re-running the same command I previously used to create the certificates (i.e.
sudo letsencrypt certonly -a webroot --webroot-path=/var/www/html -d example.com -d www.example.com) because I’m worried that might destroy them and leave me with an even more broken site. Indeed, I believe that I have all the certificates I need but since I am having trouble getting the forum sub-domain to work, I wanted to double check without breaking the other ones.
Also, I noticed that I have two folders in
/etc/letsencrypt/live, one called test.mydomain.com and mydomain.com. The reason for this is that I first created a cert for the test-subdomain and later added the other domains. But I thought that re-running the command with additional domains would simply replace the old set of files rather than add a new set. But apparently that is not the case so now I am wondering whether I need both of them or if the older one has simply become redundant. That’s another reason I’d like to check which domains are included in each of the…