From 3ba988bb105d05fc24f67b0ae86037a222596275 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 29 Mar 2024 02:08:38 +0100 Subject: [PATCH] docs: improve readme [skip ci] --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b285be8..8c129a3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# Docker Let's Encrypt +# Docker Let's Encrypt + + + + + > A multi-arch [Let's Encrypt](https://letsencrypt.org/) Docker image using [Lego CLI](https://go-acme.github.io/lego/) client with convenient environment variables support on top of the latest __Debian [12-slim](https://hub.docker.com/_/debian/tags?page=1&name=12-slim)__ ([Bookworm](https://www.debian.org/News/2023/20230610)). @@ -39,12 +44,28 @@ docker run -it --rm \ -w /root \ -v $PWD:/root/.lego \ joseluisq/docker-lets-encrypt + +# 2024/01/01 00:00:30 [INFO] [*.domain.com] acme: Obtaining bundled SAN certificate +# 2024/01/01 00:00:31 [INFO] [*.domain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/000000000000 +# 2024/01/01 00:00:31 [INFO] [*.domain.com] acme: use dns-01 solver +# 2024/01/01 00:00:31 [INFO] [*.domain.com] acme: Preparing to solve DNS-01 +# 2024/01/01 00:00:31 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "dns.domain.com." +# 2024/01/01 00:00:32 [INFO] cloudflare: new record for domain.com, ID 1234567a8e000d0ab0ced00fgjk123e +# 2024/01/01 00:00:32 [INFO] [*.domain.com] acme: Trying to solve DNS-01 +# 2024/01/01 00:00:32 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "dns.domain.com." +# 2024/01/01 00:00:32 [INFO] [*.domain.com] acme: Checking DNS record propagation. [nameservers=127.0.0.2:00] +# 2024/01/01 00:00:34 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s] +# 2024/01/01 00:00:40 [INFO] [*.domain.com] The server validated our request +# 2024/01/01 00:00:40 [INFO] [*.domain.com] acme: Cleaning DNS-01 challenge +# 2024/01/01 00:00:40 [INFO] Found CNAME entry for "_acme-challenge.domain.com.": "dns.domain.com." +# 2024/01/01 00:00:41 [INFO] [*.domain.com] acme: Validations succeeded; requesting certificates +# 2024/01/01 00:00:42 [INFO] [*.domain.com] Server responded with a certificate. ``` **Notes:** -- The container `.lego` directory will contain the certificates and keys, make sure to bind it to a specific host directory. See https://go-acme.github.io/lego/usage/cli/general-instructions/ - `ENV_LEGO_ACCEPT_TOS=true` is used to accept the [Let's Encrypt terms of service](https://community.letsencrypt.org/tos). +- The container `.lego` directory will contain the certificates and keys, make sure to bind it to a specific host directory. See https://go-acme.github.io/lego/usage/cli/general-instructions/ - See the **Cloudflare** provider options for more details https://go-acme.github.io/lego/dns/cloudflare/ ## Environment variables