Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tasyjean/9d01706b774f66427d45422cfaf99746 to your computer and use it in GitHub Desktop.

Select an option

Save tasyjean/9d01706b774f66427d45422cfaf99746 to your computer and use it in GitHub Desktop.

sudo apt-get update

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:certbot/certbot

sudo apt-get update

sudo apt-get install certbot python-pip

pip install certbot-dns-cloudflare

sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini --server https://acme-v02.api.letsencrypt.org/directory --email email@example.com --agree-tos -d *.example.com

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