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 edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
Login to 3cx.apoyar with neal user and apoyar keyfile | Login to 3cx.apoyar with neal user and apoyar keyfile | ||
go to below path | go to below path | ||
| Line 21: | Line 22: | ||
now it will give us value to update in TXT record in go daddy, so update there given value.. | 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 | ---> TXT _acme-challenge.sip rUV6G9yk5_MmK9tNbDkxrIHT9UCcJY9tTMmMHeUwHk0 1 Hour | ||
| Line 26: | Line 29: | ||
wait for 10 mins and then press enter to continue | 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 | it will give us new certificate and keyfile.. same we have to update in 3cxpbx as below | ||
Latest revision as of 10:56, 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..
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.