Обновление SSL сертификата панели VestaCP

Перед выполнением скрипта нужно выпустить новый сертификат letsencrypt

где

admin — пользователь, в котором находиться сайт для пере выпуска сертификата

domain.com — сайт для которого выпускается сертификат

 

https://git.scit.ch/rs/VestaCP-SystemSSL

VestaCP System SSL

The target was to use Let’s Encrypt for VestaCP SSL Cert based in /usr/local/vesta/ssl. First try was to do add the server domain to the admin user, create a let’s encrypt certificate (v-add-letsencrypt-domain) and do a symlink with the VestaCP SSL. A symlink produces a permission problem, because the exim4 service needs root:mail ownership to read the cert files. So I’ve written a small script, that compares the Let’s Encrypt Certificate with the system certificate, if the Let’s Encrypt Cert is updated, it will copy, change permission and restart the services.

Please change the [USER] and [DOMAIN] part with your system domain.

 

 

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.