Letsencrypt SSL certificate renew

Thirdlane:

service iptables stop

/usr/local/bin/certbot-auto renew

service iptables start

manually enter domain name: pbx17….

cat /etc/letsencrypt/live/pbx17.../fullchain.pem /etc/letsencrypt/live/pbx17.../privkey.pem >  
/etc/webmin/miniserv.pem 

service nginx reload

Asterisk:

/etc/httpd/certbot-auto renew –force-renew;

# more /etc/asterisk/sip_additional.conf

[general]
enabled=yes
enablestatic=no
bindaddr=::
bindport=8088
prefix=
tlsenable=yes
tlsbindport=8089
tlsbindaddr=::
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlsprivatekey=
cat  /etc/letsencrypt/live/webrtc.../privkey.pem /etc/letsencrypt/live/webrtc.../cert.pem > /etc/asterisk/keys/asterisk.pem

Mirtapbx:

# more /etc/asterisk/http.conf

[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/letsencrypt/live/pbxpj.../pbxpj.pem
cat  /etc/letsencrypt/live/pbxpj.../privkey.pem /etc/letsencrypt/live/pbxpj.../cert.pem > /etc/letsencrypt/live/pbxpj.../pbxpj.pem