I am getting an error when I try to install Let's Encrypt wild card SSL,keeps saying "Invalid wild card domain detected"

Posted September 2, 2021 191 views
DigitalOcean Droplets

I am trying to install Let’s Encrypt wild card SSL cert on my one and only domain, name servers are pointed to the Digital Ocean, which allows me to add the domain and pick subdomains but when I try to install it, I get this error:
“Invalid wild card domain detected”
Cannot figure out why?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

Have you followed a specific tutorial for setting this up?

Usually, to issue a wildcard Let’s Encrypt SSL you would need to have a wildcard DNS entry for your main domain as follows:

*  A  your_droplet_ip

After that, you could try using the python3-certbot-dns-digitalocean package. You could take a look at the steps on how to complete the rest of the configuration with the DigitalOcean API token here:

Let me know how it goes.

by Brian Boucheron
In this tutorial you will create a Let's Encrypt wildcard certificate. Wildcard certificates are SSL certificates that can secure any number of subdomains with a single certificate. You may want one of these if you need to support multiple subdomains without configuring them individually.