Question

How to install wildcard SSL certificate on OpenLiteSpeed and Wordpress by DigitalOcean

Hi

I’ve successfully installed OpenLiteSpeed/Wordpress droplet and everything seems to be working perfectly.

However I’ve switched to multisite, but SSL is valid only for the domain and NOT subdomains.

I’ve tried to execute: certbot certonly --webroot -w /var/www/html/ -d *.domain.com -d domain.com

The result is: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.

My nameservers are not pointed to DO yet, but that should not be a problem, since all records are pointing to DO server.

Any ideas?


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.

Hi,

Please check this guide

Basically you can not simply get the wild card with *.domain.com in command , it requires DNS verification , it does not matter where is your DNS nameserver, but you need to manually create these DNS record per its request.

during the process, you will see something like this in your screen

Please deploy a DNS TXT record under the name
_acme-challenge.erpnext.xyz with the following value:
J50GNXkhGmKCfn-0LQJcknVGtPEAQ_U_WajcLXgqWqo

and you need to create this entry in your DNS record in order for it to verify.

Best regards,