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

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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. Regards, Bobby