Question

How to setup SSL (HTTPS) on an EXTRA Domain in a Litespeed + Wordpress Droplet ?

I got a working domain called, let’s say “DOMAIN1.COM”, which runs into a “1 click droplet Litespeed + Wordpress”. And it got SSL already working.

Now I added an extra domain “Domain2.com”. I made all the necessary changes at DNS and it is working nicely. Except that it have no SSL.

Does anyone knows how can I setup SSL for the extra domain?

Subscribe
Share

I tried “certbot -d domain1.com -d domain2.com

But I got the following message:


Certbot doesn’t know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run “certbot certonly” to do so. You’ll need to manually configure your web server to use the resulting certificate.


I also tried “certbot certonly”, and I got the following: (I changed my domain name to “domain1” here)

** Challenge failed for domain domain1.com Challenge failed for domain www.domain1.com **

** Domain: domain1.com Type: unauthorized Detail: Invalid response from http://domain1.com/.well-known/acme-challenge/0enchpXyFuBDk3wrgvdrgf455aT5MBaCe4X-kDHEVGQBc7PCE [189.88.44.344]: "<!DOCTYPE html>\n<html style=“height:100%”>\n<head>\n<meta name=“viewport” content=“width=device-width, initial-scale=1, shrink-to-”**


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.

Problem solved…

By using dns challenge, you have to decrease the TTL to 60 at DNS so it is checked fastly.

Now I tried: certbot certonly

And I got the following:

(I changed my real domain name for ‘domain1’ here)

**Challenge failed for domain domain1.com Challenge failed for domain www.domain1.com **

** Domain: domain1.com Type: unauthorized Detail: Invalid response from http://domain1.com/.well-known/acme-challenge/0enchpXyFuBDk3wr234fsdfdsf5MBaCe4X-kDHEVGQBc7PCE [159.455.45.345]: "<!DOCTYPE html>\n<html style=“height:100%”>\n<head>\n<meta name=“viewport” content=“width=device-width, initial-scale=1, shrink-to-”**