@stevenzhu I have attempted to follow the setup per the guide you have graciously provided,
All fantastic stuff, if it works. problem is I tried above on my site, nothing happened when I called port 7080. I then attempted several fresh droplet generations, each slightly different in an attempt to get one to work and none of them resulted in a success.
1.) I go to this site below, and I click the button "Create OpenLiteSpeed NodeJS".
Node.js | Images | Cloud | LiteSpeed Documentation (litespeedtech.com)
2.) I select "Basic" "Regular CPU" (the $5/mo Plan)
3.) I select IPv6 (now I am getting advanced).
4.) I am using an SSH Key to access.
5.) CLICK CREATE Droplet BAR and let Digital Ocean build the droplet.
6.) Using SSH from PowerShell I login From root@<IP_Address>
7.) Now here is a point where there is ambiguity. The Digital Ocean Market Place App for "OpenLiteSpeed NodeJS" states clearly that certbot is included with the standard droplet configuration. I a not clear about the one offered in the link above but I assume it does because it also Initiates the Let's Encrypt app so I am assuming this means the certbot is working. The issues is that in the instructions above there is no indication that assigning domain names is required.
So I go through the domain name and confimrations... and result in "domain is inaccessible" (here I would be surprised if it did find the domain. Because I have not set it up yet.
So now I go back to my Domain and translate the IPv4 and IPv6 addresses (which in Digital Ocean is really easy).
RETRY 6. and 7.) This time at least I get the [OK] accessible note, Great! the request for certificate still fails, and I still am not getting HTTPS.
I have HTTPS working on my site, that is all I really wanted. If I don't need IPv6 to get HTTPS then I don't need IPv6 and nor does anyone really. I stand by what I said, I think the instructions at least solved the problem that I was having and in most of the attempts made following these new instructions.
Step 2. Add Domain to Listener¶
Navigate to OpenLiteSpeed Web Server WebAdmin > Listeners , and add Your Domain to HTTP/HTTPS.
MESSAGE RESULTING FROM ATTEMPTING TO USE THE INSTRUCTIONS You pointed to.
##############################################################
Using the webroot path /usr/local/lsws/Example/html for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. equalation.org (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://equalation.org/.well-known/acme-challenge/CdNV0y5HTNo65FM4Hamu0CDWk1bwzdd1vdj2a-GhnJA: Timeout during connect (likely firewall problem)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: equalation.org
Type: connection
Detail: Fetching
http://equalation.org/.well-known/acme-challenge/CdNV0y5HTNo65FM4Hamu0CDWk1bwzdd1vdj2a-GhnJA:
Timeout during connect (likely firewall problem)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
-
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
Oops, something went wrong...
####################################################################
If there is a log file that certbot generates I have not been able to find it. Please share full path of this log and I will share. But I am all but certain that anyone on the planet can follow the steps that I did and get the same result.
Steve