Configuring letsencrypt certificate: Difference between revisions
(Created page with "=== '''''Applies to version: v3.1, v3.1''''' === {{DISPLAYTITLE:Configuring letsencrypt certificate}} __NOTOC__ =Introduction= Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG). This tutorial provides you how to configure letsencrypt certificate to use in Telcobridges equipment's. ==Prerequisites== Make sure HTTPS is enabled for the HTTP defaul...") |
No edit summary |
||
| Line 6: | Line 6: | ||
==Prerequisites== | ==Prerequisites== | ||
Make sure HTTPS is enabled for the HTTP default service at port 12358. | Make sure HTTPS is enabled for the HTTP default service at port 12358. | ||
== Configuration Procedure == | |||
Note that the below procedure will survive a toolpack upgrade without breaking HTTPS. | |||
1. Install certbot and python3 | |||
<pre> # Install python3 with virtual environment. | |||
sudo yum -y install python3 | |||
sudo python3 -m venv /opt/pycertbot/ | |||
sudo /opt/pycertbot/bin/pip install --upgrade pip | |||
# Install required dependency | |||
sudo /opt/pycertbot/bin/pip install pyOpenSSL==23.1.1 | |||
# Install certbot from pip | |||
sudo /opt/pycertbot/bin/pip install certbot certbot | |||
sudo ln -s /opt/pycertbot/bin/certbot /usr/bin/certbot </pre> | |||
Revision as of 09:36, 26 March 2024
Applies to version: v3.1, v3.1
Introduction
Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG). This tutorial provides you how to configure letsencrypt certificate to use in Telcobridges equipment's.
Prerequisites
Make sure HTTPS is enabled for the HTTP default service at port 12358.
Configuration Procedure
Note that the below procedure will survive a toolpack upgrade without breaking HTTPS.
1. Install certbot and python3
# Install python3 with virtual environment. sudo yum -y install python3 sudo python3 -m venv /opt/pycertbot/ sudo /opt/pycertbot/bin/pip install --upgrade pip # Install required dependency sudo /opt/pycertbot/bin/pip install pyOpenSSL==23.1.1 # Install certbot from pip sudo /opt/pycertbot/bin/pip install certbot certbot sudo ln -s /opt/pycertbot/bin/certbot /usr/bin/certbot