Hello,
First of all, apologies for the late response, we are completely rewriting the codebase. In the future, SSL generation will be fully automated, requiring no manual intervention. Unlike traditional methods where SSL certificates must be generated before starting the web server to listen on port 443, OpenPanel will now initialize the web server without SSL and dynamically generate certificates on demand. This approach ensures faster startup times, as SSL certificates no longer need to be pre-generated or assigned to domains beforehand.
For now, on OpenPanel versions below 1.0.0, you can use the following command to generate SSL certificates with Certbot:
Stop Certbot:
cd /root && docker compose down certbot
Delete file
rm -rf /var/log/letsencrypt/letsencrypt.log
Restore script from previous version:
curl -s https://gist.githubusercontent.com/stefanpejcic/c62589e6e856a86668894b280eed65fd/raw/1d61ab1c2b6a5add6db210c677eec1d8bb6d918b/s.sh -o /usr/local/admin/scripts/ssl/domain
Run again (it will display Error response from daemon: No such container: certbot but do the generation):
opencli ssl-domain DOMAIN_HERE
To display the data in the user panel, please run:
cd /root && docker compose up -d certbot && opencli ssl-user --all