til-jasontorres by Jason Torres

Generating Free Wildcard Certificates With Letsencrypt and Mac OSX

Easy peasy

Install Certbot

  1. brew update
  2. brew install certbot

Run the following

  1. certbot certonly --manual --preferred-challenges=dns [email protected] --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d "*.example.com"

  2. Add the TXT record on your DNS

  1. Confirm all the questions and you'll have your certificates ready

  2. 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