Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

...

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.

Shell
# yum -y install epel-release

Download the Let's Encrypt files using Git:

...

  1.  Run the following command:

    Shell
    # service voipnow stop


  2. Disable the srvmonitor cron task by running the command below 

    Shell
    # crontab -e

    and place a # character in front of the line containing srvmonitor.


Run the Let's Encrypt script


Shell
# cd letsencrypt

# ./letsencrypt-auto certonly -a standalone -d sip.voipnowserver.com
hecking for new version...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Requesting root privileges to run letsencrypt...
   /root/.local/share/letsencrypt/bin/letsencrypt certonly -a standalone -d sip.voipnowserver.com
  DeprecationWarning
Version: 1.1-20080819
Version: 1.1-20080819

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


Shell
# cp -p /etc/voipnow/certs/http.pem /etc/voipnow/certs/http.pem.bkp


Copy the new certificate and key


Shell
# cd /etc/letsencrypt/live/sip.voipnowserver.com/
# cat privkey.pem fullchain.pem > /etc/voipnow/certs/http.pem


Start the web interface


Shell
# 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

Shell
# crontab -e

and remove the # sign placed in front of the srvmonitor command.

...

Content by Label
labels
showLabelsfalse
max5
sortmodified
showSpacefalse
reversetrue
typepage
letsencrypt ssl certificate voipnow epel
cqllabel in ("letsencrypt","ssl","certificate","epel","letsencrypt","voipnow") and type = "page"

...

hiddentrue

...

space = currentSpace()


Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.