SSL renewal for Apoyar 3cx sip.apoyar.net: Difference between revisions
(Created page with "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 upda...") |
(No difference)
|
Revision as of 07:01, 10 June 2024
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..
---> 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.