Skip to content

Instantly share code, notes, and snippets.

@jadia
Created July 18, 2019 09:48
Show Gist options
  • Save jadia/d5c7e1b5684bcec863533826c60723dd to your computer and use it in GitHub Desktop.
Save jadia/d5c7e1b5684bcec863533826c60723dd to your computer and use it in GitHub Desktop.
Create certificates for website using certbot

create a clone of certbot git repo or install certbot

sudo ./certbot-auto certonly -m [email protected] --agree-tos --manual --no-eff-email --manual-public-ip-logging-ok --preferred-challenges http  -d test1.example.com

This will give crt and key.

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