четверг, 24 октября 2019 г.

ssl nginx certificate cerbot freeswitch ключи, сертификат

1) apt-get install certbot python-certbot-nginx

2) certbot --nginx

3)
IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/sfcg.eu/fullchain.pem

   Your key file has been saved at:
   /etc/letsencrypt/live/sfcg.eu/privkey.pem

   Your cert will expire on 2019-11-14. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot again
   with the "certonly" option. To non-interactively renew *all* of
   your certificates, run "certbot renew"

 - Your account credentials have been saved in your Certbot
   configuration directory at /etc/letsencrypt. You should make a
   secure backup of this folder now. This configuration directory will
   also contain certificates and private keys obtained by Certbot so
   making regular backups of this folder is ideal.



4) Сделать  сертификат для фрисвича

cat /etc/letsencrypt/live/demo.raydo.com/fullchain.pem /etc/letsencrypt/live/demo.raydo.com/privkey.pem > /etc/freeswitch/tls/wss.pem



crontab -e
0 0 * * 7 certbot renew

Комментариев нет:

Отправить комментарий