From dcf743887d27fa11b113f45bc40be3a0cd2d8c31 Mon Sep 17 00:00:00 2001 From: Randy Merrill Date: Fri, 26 Jun 2020 12:46:12 -0600 Subject: Updating the readme for the dns challenge. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 5ad530f..645e55f 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,16 @@ When you run the script, it will: - Will write the certificate to `signed.crt` if ACME HTTP challenge is successful. +## dns challenge + +If you want to use the DNS challenge type provide it using the `--challenge` flag. + +```sh +acmens --account-key user.key --email mail@example.com --challenge=dns --csr domain.csr > signed.crt +``` + +This will prompt you to update the DNS records to add a TXT record. + ## revoking a certificate First, you will need to the user account key for Let's Encrypt that was used -- cgit v1.2.3