I've installed OpenLiteSpeed + WordPress from this Docker build, on an AWS EC2 instance.
https://hub.docker.com/r/litespeedtech/openlitespeed
I managed to get WordPress working. But the SSL install, using ACME as that page describes, didn't work.
This Docker build's default web directory is
(which running inside the container's filesystem by running
maps to
)
I also tried getting one manually though LetsEncrypt using `certbot`, following these
https://openlitespeed.org/kb/ssl-setup/
https://openlitespeed.org/kb/lets-encrypt-ssl-on-openlitespeed/
It successfully gave me both a certificate and keyfile
And I went to the WebAdmin dashboard, under listeners, under HTTPS, and added the path of those two in the private key & certificate file fields (following those docs).
I tried adding the HTTPS listener to the "Example" virtual host, and tried without.
As well as checked all the boxes for "protocol version" (e.g. SSL v3.0, TLS v1.0, etc.) as other docs online suggested, and tried without them.
Nothing's worked yet. Traffic on HTTP works fine, but nothing does on HTTPS yet.
Any attempt is blocked (refused to connect), and no firewalls are in place to prevent incoming traffic (by means of ufw, or EC2 security groups.)
Any hints?
Thanks
https://hub.docker.com/r/litespeedtech/openlitespeed
I managed to get WordPress working. But the SSL install, using ACME as that page describes, didn't work.
Code:
ubuntu@ip-172-31-2-130:~/ols-docker-env$ ./bin/acme.sh --domain extensible.ml
[Start] Checking ACME
[End] Checking ACME
[O] The domain name extensible.ml is accessible.
[O] The domain name www.extensible.ml is accessible.
[X] The document root folder /var/www/vhosts/extensible.ml/html does not exist!
Code:
/home/ubuntu/ols-docker-env/sites/localhost/html
Code:
docker exec -it ols-docker-env_litespeed_1 bash
Code:
/var/www/vhosts/localhost/html
I also tried getting one manually though LetsEncrypt using `certbot`, following these
https://openlitespeed.org/kb/ssl-setup/
https://openlitespeed.org/kb/lets-encrypt-ssl-on-openlitespeed/
It successfully gave me both a certificate and keyfile
Code:
/etc/letsencrypt/live/extensible.ml/fullchain.pem
Code:
/etc/letsencrypt/live/extensible.ml/privkey.pem
I tried adding the HTTPS listener to the "Example" virtual host, and tried without.
As well as checked all the boxes for "protocol version" (e.g. SSL v3.0, TLS v1.0, etc.) as other docs online suggested, and tried without them.
Nothing's worked yet. Traffic on HTTP works fine, but nothing does on HTTPS yet.
Any attempt is blocked (refused to connect), and no firewalls are in place to prevent incoming traffic (by means of ufw, or EC2 security groups.)
Any hints?
Thanks
Attachments
-
92 KB Views: 7