Question

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

*.example.com  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:

https://www.digitalocean.com/community/tutorials/how-to-create-let-s-encrypt-wildcard-certificates-with-certbot

Let me know how it goes. Regards, Bobby