Skip to content

Instantly share code, notes, and snippets.

@tallesairan
Last active October 28, 2020 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tallesairan/73aec8fd5271599b701b847186e68d34 to your computer and use it in GitHub Desktop.
Save tallesairan/73aec8fd5271599b701b847186e68d34 to your computer and use it in GitHub Desktop.
Install certbot and generate certificate

apt-get update

apt-get install python-minimal

python --version

apt-get install git-core

git --version

cd /opt

git clone https://github.com/certbot/certbot.git

cd certbot && ./certbot-auto

export LC_ALL="en_US.UTF-8"

export LC_CTYPE="en_US.UTF-8"

./certbot-auto certonly —manual —preferred-challenges=dns —email airan.talles@gmail.com —server https://acme-v02.api.letsencrypt.org/directory —agree-tos -d *.xmember.ga

verification: create record

_acme-challenge.xmember.ga

with the following value: J50GNXkhGmKCfn-0LQJcknVGtPEAQ_U_WajcLXgqWqo

Record Name: _acme-challenge

Record Value: J50GNXkhGmKCfn-0LQJcknVGtPEAQ_U_WajcLXgqWqo

To cross verify certificate’s validity via command line run ./certbot-auto certificates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment