We are starting CHRISTMAS Sale. Get 30% OFF on lifetime licenses with code: FYSKK72

How to fix LetsEncrypt SSL certificate (Admin Panel)

General questions about VestaCP
patoonord
Posts: 4
Joined: Wed Nov 01, 2017 5:49 am

How to fix LetsEncrypt SSL certificate (Admin Panel)

Postby patoonord » Thu Nov 16, 2017 9:57 pm

Solution
This solution consists of creating a symbolic link from the certificate origin location to the destination location. This is the best solution since VestaCP will automatically renew LetsEncrypt certificates – a symbolic link would ensure any updates are reflected in the VestaCP admin panel.

cd /usr/local/vesta/ssl
mv certificate.crt certificate.crt_old
mv certificate.key certificate.key_old
ln -s /home/admin/conf/web/ssl.DOMAIN.TLD.key /usr/local/vesta/ssl/certificate.key
ln -s /home/admin/conf/web/ssl.DOMAIN.TLD.crt /usr/local/vesta/ssl/certificate.crt
sudo service vesta restart

Be sure to change domain.tld with the domain your server is using with VestaCP

ScIT
Posts: 271
Joined: Mon Feb 23, 2015 4:13 pm

Re: How to fix LetsEncrypt SSL certificate (Admin Panel)

Postby ScIT » Fri Nov 17, 2017 9:37 am

not the best way to solve, you will get a permission error within exim4. Written a small script to solve this issue: viewtopic.php?f=19&t=13057


Return to “General Discussion”



Who is online

Users browsing this forum: Google [Bot], Syeef and 10 guests

cron