Create SSL Certificates for ISPConfig using Let's Encrypt
I encoutered some documentation issues regarding ISPConfig combined with Let's Encrypt.
This is what I ultimately found out to install SSL certificates in ISPConfig using the Let's Encrypt tooling.
Note, I'm using Apache but you should be able to change the commands for use with Nginx and other webservers.
Also, I'm assuming you already installed Let's Encrypt on your server. If not, see https://letsencrypt.readthedocs.org
- 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
service apache2 stop
Create SSL Certificate
A) Use next 4 commands if you are creating a SSL certificate for your ISPConfig Dashboard panel
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
B) If you are creating a SSL certificate for one of your websites...
and copy/paste the contents of the certificates into the fields (found in the SSL tab) in ISPConfig.
And always fire up Apache again ;-)
service apache2 graceful
Was this answer helpful?
OpenVPN installer for Debian, Ubuntu, Fedora, CentOS, Oracle Linux and Arch Linux. This script...
Install OpenVPN on a Virtual Server / VPS OpenVPN road warrior installer for Debian, Ubuntu and...
DirectAdmin is a web hosting control panel with a graphical user interface which was designed to...
Powered by WHMCompleteSolution