Created
April 15, 2024 10:12
-
-
Save vadirajks/de1c5693ca314828891c6e206116c0bf to your computer and use it in GitHub Desktop.
certbot_install.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install epel-release | |
sudo yum install certbot-nginx | |
#if it is not working, follow the below steps: | |
sudo python3 -m venv /opt/certbot/ | |
sudo /opt/certbot/bin/pip install --upgrade pip | |
sudo /opt/certbot/bin/pip install certbot certbot-nginx | |
sudo ln -s /opt/certbot/bin/certbot /usr/bin/certbot | |
sudo certbot --nginx | |
sudo systemctl reload nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment