I have a web page (domainA.com.br) that works that has active certificate, this same page has a serverAlias (domainB.com.br), but the certificate does not work and when I apply certbot --apache - d domainB.com.br activates the certificate, but domainA loses the certificate, how to solve it?
please share your complete setup:
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):
I was able to solve with the certbot parameter -expand -d domainA.com.br -d domainB.com.br
@ericots, that’s correct—Certbot expects you to always list all names that should be covered on the new certificate that you’re requesting, including names that were already covered by a certificate that it replaces.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.