Forrest logo
back to the acme.sh tool

acme.sh-dns:tldr:244ec

acme.sh-dns: Issue a certificate while disabling automatic Cloudflare / Google DNS polling after the DNS record is added by specifying a custom wait time in seconds.
$ acme.sh --issue --dns ${dns_namecheap} --domain ${example-com} --dnssleep ${300}
try on your machine

This command is using the acme.sh script to issue a TLS/SSL certificate for the domain "example.com" using the DNS challenge method with Namecheap DNS as the DNS provider. Let's break down each part of the command:

  • acme.sh: This refers to the acme.sh script, which is a lightweight shell script that automates the issuance and renewal of TLS/SSL certificates from Let's Encrypt certificate authorities.

  • --issue: This flag tells acme.sh that we want to issue a new certificate.

  • --dns ${dns_namecheap}: This flag specifies that we want to use the DNS challenge method and specifies Namecheap as the DNS provider. The ${dns_namecheap} is a placeholder that might be replaced with the actual Namecheap DNS API credentials or configuration.

  • --domain ${example-com}: This flag specifies the domain for which the certificate should be issued. The ${example-com} is a placeholder that might be replaced with the actual domain name.

  • --dnssleep ${300}: This flag specifies the time to sleep (in seconds) before verifying the DNS challenge. The ${300} is a placeholder that might be replaced with the actual number of seconds.

Overall, this command is instructing acme.sh to issue a certificate for the domain "example.com" using the DNS challenge method with Namecheap DNS as the DNS provider. It also specifies the sleep time before verifying the DNS challenge.

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