til-jasontorres by Jason Torres
Generating Free Wildcard Certificates With Letsencrypt and Mac OSX
Easy peasy
Install Certbot
- brew update
- brew install certbot
Run the following
certbot certonly --manual --preferred-challenges=dns [email protected] --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d "*.example.com"
Add the TXT record on your DNS
Confirm all the questions and you'll have your certificates ready
certbot certificates
should give you all your generated certificates in case you need them for a later time
Found the following certs:
Certificate Name: example.com
Serial Number: 4e444de75ff1b3365a713c5ae575dacc096
Domains: *.example.com
Expiry Date: 2020-09-18 01:42:42+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/example.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/example.com/privkey.pem
Posted: 20/6/2020