Last active
April 1, 2023 19:34
-
-
Save GhazanfarMir/18ed26105da91a073a73a47057e8aa7c to your computer and use it in GitHub Desktop.
Revisions
-
GhazanfarMir renamed this gist
Mar 28, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
GhazanfarMir renamed this gist
Mar 28, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
GhazanfarMir created this gist
Mar 28, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ # Virtual Environment Setup mkdir /opt/certbot cd /opt/certbot git clone https://github.com/certbot/certbot cd certbot git checkout v0.22.0 sudo ./certbot-auto --os-packages-only ./tools/venv.sh source venv/bin/activate # Pull dns-dititalocean plugin via docker docker pull certbot/dns-digitalocean sudo docker run -it --rm --name certbot \ -v "/etc/letsencrypt:/etc/letsencrypt" \ -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \ -v "/home/gmir/.secrets/:/home/gmir/.secrets/" \ certbot/dns-digitalocean certonly --server https://acme-v02.api.letsencrypt.org/directory # answer all questions