Ispconfig: Enable Letsencrypt certificate for admin console

Bschelst/ April 16, 2017/ Ispconfig/ 0 comments

You can use Letsencrypt certificates for the Ispconfig admin console too.
In order to achieve this, you can use the following commands:

### as super user of course
letsencrypt auth --text --agree-tos --authenticator webroot --server --rsa-key-size 4096 --email [email protected]${DOMAIN} --domains ${DOMAIN} --webroot-path /usr/local/ispconfig/interface/acme
dt=`date '+%Y%m%d%H%M%S'` 
cd /usr/local/ispconfig/interface/ssl/ 
for ext in csr key crt
 if [ -f ispserver.$ext ]
   mv ispserver.$ext ispserver.$ext.old.$dt
ln -s /etc/letsencrypt/live/${DOMAIN}/privkey.pem ispserver.key
ln -s /etc/letsencrypt/live/${DOMAIN}/fullchain.pem ispserver.crt
service apache2 restart 
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>