I have just issued the following command to add two new domain names to an existing certificate, but although I get a ‘success’ message and all the domains are listed in the process, the new domains added do not seem to be covered by the certificate (the old ones continue to work).
certbot --webroot -w /var/www/html certonly -d existing.domain1.com -d existing.domain2.com -d new.domain.com -d new.domain2.com
I think it is due to the fact that I have two .conf files held in /etc/letsencrypt/renew and it is using the wrong one (or something like that).
The error I get when I visit new.domain.com is this:
This server could not prove that it is **new.domain.com** ; its security certificate is from **existing.domain.com**
I’m running apache on Debian.
Is there a correct way to specify a specific conf. file during the process, or should I try and delete everything and try again? If so, what would the process be?