self-hosting/roles/add_cert/README.md

7 lines
361 B
Markdown
Raw Normal View History

# Add certificate
Deploys a Let's Encrypt certificate with `certbot`, using a DNS-01 or a HTTP-01 challenge.
2024-12-15 10:33:00 +01:00
To choose between the two, this role checks the current public IP address of the host, and compares it to the IP address that the certificate's domain publicly resolves to.
It then calls sub-roles `add_cert_dns_01` or `add_cert_http_01` accordingly.