Skip to content

Instantly share code, notes, and snippets.

@albert-yu
Last active August 16, 2020 04:55
Show Gist options
  • Save albert-yu/b9df9829caf38eadfff4159780a8f76b to your computer and use it in GitHub Desktop.
Save albert-yu/b9df9829caf38eadfff4159780a8f76b to your computer and use it in GitHub Desktop.
CertBot and Amazon EC2

Getting certbot to work

Download the RPM

curl -O http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Then install it

sudo yum install epel-release-latest-7.noarch.rpm

Now you can install certbot

sudo yum install certbot

And then run it as usual

 sudo certbot --debug -v --server https://acme-v02.api.letsencrypt.org/directory certonly -d 'api.bassoonic.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment