Hi, on my virtual server I already had Let’s Encrypt handling the certificate for two of my vhosts. Now, I was adding two new domains to the same hosting account, but got some problemas after calling “certbot --apache” as I did at the first time.
When I ran the command I was presented with a correct list of my currente domains. Then, by choosing the numbers, I selected all the ones I wanted (including the previous ones). After that, it all seemed to be ok, but when I try to access the new ones on my browser (like this one: https://exatows.com.br/) I get a “ERR_CERT_COMMON_NAME_INVALID” - it seems the certificate in use is still the old one since is is still only valid for the original domains (I checked it).
By calling “certbot certificates” on my server, I can see thath the new and the old certificates are, indeed, still up and running - ther were put on two different directories under the “live” folder of /etc/letsencrypt, so I assumed I have a misconfiguration of my apache server.
How can I tell apache to use the correct certificate? I’m unable to find where I set this configuration…
My domain is: exatosolucoes.com.br
I ran this command: sudo certbot --apache
My web server is (include version): apache
The operating system my web server runs on is (include version): ubuntu 16.04
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no