If you are still using CentOS 6, you need to install the EPEL repo for Let's Encrypt to work. For that you need to run the following command.
# yum -y install epel-release
Download the Let's Encrypt files using Git:
Run the following command:
# service voipnow stop
Disable the srvmonitor cron task by running the command below
# crontab -e
and place a
#character in front of the line containing
Run the Let's Encrypt script
# cd letsencrypt # ./letsencrypt-auto certonly -a standalone -d sip.voipnowserver.com
hecking for new version...
Creating virtual environment...
Installing Python packages...
Requesting root privileges to run letsencrypt...
/root/.local/share/letsencrypt/bin/letsencrypt certonly -a standalone -d sip.voipnowserver.com
At this point, you will be prompted to provide a valid email address and accept the legal terms. Proceed as required, and the script should continue.
Back up the old SSL certificate
# cp -p /etc/voipnow/certs/http.pem /etc/voipnow/certs/http.pem.bkp
Copy the new certificate and key
# cd /etc/letsencrypt/live/sip.voipnowserver.com/
# cat privkey.pem fullchain.pem > /etc/voipnow/certs/http.pem
Start the web interface
# service voipnow start
Check if you can access the web interface and ensure that the SSL connection information is correct.
If everything's OK, run the command below again
# crontab -e
and remove the
# sign placed in front of the
|Content by Label|
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.