Forrest logo
back to the acme.sh tool

acme.sh-dns:tldr:428f8

acme.sh-dns: Issue a certificate using a DNS alias mode.
$ acme.sh --issue --dns ${dns_cf} --domain ${example-com} --challenge-alias ${alias-for-example-validation-com}
try on your machine

This command is using the acme.sh script to issue an SSL/TLS certificate for a domain using DNS authentication with Cloudflare DNS. Here is a breakdown of the command:

  • acme.sh - The executable script or command used to interact with Let's Encrypt and issue SSL/TLS certificates.
  • --issue - Specifies that a certificate should be issued.
  • --dns ${dns_cf} - Specifies the DNS challenge type to use, in this case, it is Cloudflare DNS. The ${dns_cf} variable is likely replaced with the Cloudflare DNS API credentials or configuration.
  • --domain ${example-com} - Specifies the domain for which the certificate should be issued. The ${example-com} variable is likely replaced with the actual domain name like example.com.
  • --challenge-alias ${alias-for-example-validation-com} - Specifies the alias or CNAME record to be created in the DNS zone for completing the DNS challenge. The ${alias-for-example-validation-com} variable is likely replaced with the desired alias or CNAME record like _acme-challenge.example.com.

In summary, this command instructs acme.sh to issue a certificate for the specified domain using Cloudflare DNS authentication, and it provides the required DNS challenge information.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the acme.sh tool