Open gitmko0 opened 4 years ago
+1
+1
+1 Possibly also feature to edit the acme directory
https://openlitespeed.org/kb/lets-encrypt-ssl-on-openlitespeed/ Seems totally possible. Parse hostnames from vhost and check config check SSL cert path for that domain
If you didn't need it to let it configure acme or letsencrypt path it would be even easier. It could just have a sane default like in this config as the default. https://github.com/meramsey/blaqpanel/blob/main/lsws/conf/vhosts/vhost.conf#L111-L113
Then check if the domain resolves to the server's IP already and if so then proceed to run the request via the SNAP LE or ACME.sh client
Would make for a relatively easy killer feature.
I did a similiar thing to check if domain resolved to server externally in bash for the cyberpanel ACME wrapper during installer here. https://github.com/usmannasir/cyberpanel/blob/stable/cyberpanel.sh#L1863-L1864
Obviously as the core of this is C based there are probably sleeker ways unless they wanted to handle it via the WEBUI maybe in PHP?
possible to do automatic letsencrypt on the system? like an autocert for domain name hosting companies