Last active
October 11, 2023 10:55
-
-
Save denvers/3583cf7af57a4e1b77d8 to your computer and use it in GitHub Desktop.
ISPConfig Dashboard SSL Certificate using Let's Encrypt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTES | |
# SSL Key is privkey.pem | |
# SSL Request does not exist and is not needed (CSR) | |
# SSL Certificate is cert.pem | |
# SSL Bundle is chain.pem | |
# Stop Apache | |
service apache2 stop | |
# Create SSL Certificate | |
./letsencrypt-auto certonly | |
# Backup original ISPConfig certificates | |
mkdir /usr/local/ispconfig/interface/ssl/originals | |
mv /usr/local/ispconfig/interface/ssl/isp* /usr/local/ispconfig/interface/ssl/originals/ | |
# Link new Let's Encrypt SSL certificates | |
ln -s /etc/letsencrypt/live/__DOMAIN__/fullchain.pem /usr/local/ispconfig/interface/ssl/ispserver.crt | |
ln -s /etc/letsencrypt/live/__DOMAIN__/privkey.pem /usr/local/ispconfig/interface/ssl/ispserver.key | |
# Fire up Apache | |
service apache2 graceful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment