Domain name mismatch

Hello. I issued a new certificate for a new domain which I will call domain.org. The certificate issued fine, but when verified it shows a name mismatch for www.domain.org. Should I have issued the certificate for www.domain.org first? I did add www.domain.org to the webroot section of the conf file. Both www.domain.org and domain.org work fine as well. It just shows the mismatch with www.domain.org. Is there another way to fix this without reissuing? Thanks.

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):

No. In short, you should have issued a cert with both domain names in it.

2 Likes

No. Modifications to existing certificates aren't possible, as that would invalidate the signature. The only way to modify a certificate, is to reissue a new one.

3 Likes

Thank you. Would that be ... -d www.domain.com -d domain.com?

2 Likes

Yes, probably.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.