Skip to content

Instantly share code, notes, and snippets.

@denvers
Last active October 11, 2023 10:55
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save denvers/3583cf7af57a4e1b77d8 to your computer and use it in GitHub Desktop.
Save denvers/3583cf7af57a4e1b77d8 to your computer and use it in GitHub Desktop.
ISPConfig Dashboard SSL Certificate using Let's Encrypt
# 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