Forrest logo
back to the acme.sh tool

acme.sh-dns:tldr:a8bdc

acme.sh-dns: Issue a wildcard certificate (denoted by an asterisk) using an automatic DNS API mode.
$ acme.sh --issue --dns ${dns_namesilo} --domain ${example-com} --domain ${*-example-com}
try on your machine

This command uses the acme.sh script to issue a SSL/TLS certificate for the specified domain(s) using DNS validation through the namesilo DNS provider.

Here's a breakdown of the command:

  • acme.sh: This is the name of the script being executed.
  • --issue: This flag instructs the script to issue a certificate.
  • --dns ${dns_namesilo}: This flag specifies the DNS provider to use for validation, in this case, dns_namesilo. This indicates that acme.sh will interact with the Namesilo DNS API to complete the DNS validation process.
  • --domain ${example-com}: This flag specifies the primary domain for which the certificate is being issued. It uses the domain example.com as a placeholder.
  • --domain ${*-example-com}: This flag specifies additional domain(s) for which the certificate should be issued. The ${*-example-com} syntax suggests that the command will attempt to expand a variable or retrieve a list of domain names that match the pattern *-example-com. The * is commonly used as a wildcard character. So, if there are any domain names like subdomain-example-com, test-example-com, etc., they will be included in the certificate request.

Overall, this command serves the purpose of issuing a SSL/TLS certificate for the specified primary domain and any additional domains found that match the pattern *-example-com, using DNS validation through the namesilo DNS provider.

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