SSL renewal for Apoyar 3cx sip.apoyar.net

SSL renewal for sip.apoyar.net


Login to 3cx.apoyar with neal user and apoyar keyfile


go to below path

---> cd /etc/nginx/sites-enabled/


make sure we have 3cxpbx file there


then run below command to renew ssl

---> sudo certbot certonly --manual --rsa-key-size 2048 --preferred-challenges dns --debug-challenges -d sip.apoyar.net


it will ask to continue.. press Y and hit enter to continue


now it will give us value to update in TXT record in go daddy, so update there given value..

URL - https://dcc.godaddy.com/control/dnsmanagement?domainName=apoyar.net

---> TXT _acme-challenge.sip rUV6G9yk5_MmK9tNbDkxrIHT9UCcJY9tTMmMHeUwHk0 1 Hour


wait for 10 mins and then press enter to continue


it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below

ssl_certificate /etc/letsencrypt/live/sip.apoyar.net/fullchain.pem;^M

ssl_certificate_key /etc/letsencrypt/live/sip.apoyar.net/privkey.pem;^M


then for checking syntax run below command

---> nginx -t


if all OK, then reload nginx

---> service nginx reload


now browse and check website ssl date.