The X cmd tool The acme protocol is implemented, which can generate free let's encrypt HTTPS certificate. It can connect with some cloud service providers seamlessly to realize automatic certificate generation and renewal. Here's how Main parameters and introduction. You can generate the corresponding command line parameters directly on the page. Help you learn how to use it quickly .


-h --help
Show this help message.
-v --version
Show version info.
Install to your system.
Uninstall, and uninstall the cron job.
Upgrade to the latest code from
Issue a cert.
Deploy the cert to your server.
-i --install-cert
Install the issued cert to apache/nginx or any other server.
-r --renew
Renew a cert.
Renew all the certs.
Revoke a cert.
Remove the cert from list of certs known to
List all the certs.
Export the certificate and key to a pfx file.
Convert to pkcs8 format.
Issue a cert from an existing csr.
Show the content of a csr.
-ccr --create-csr
Create CSR, professional use.
Create an domain private key, professional use.
Update account info.
Register account key.
Deactivate the account.
Create an account private key, professional use.
Install the cron job to renew certs, you don't need to call this. The 'install' command can automatically install the cron job.
Uninstall the cron job. The 'uninstall' command can do this automatically.
Run cron job to renew all the certs.
Set the cron notification hook, level or mode.
Deactivate the domain authz, professional use.
Used with '--server', Set the default CA to use. See:


-d --domain
Specifies a domain, used to issue, renew or revoke etc.
The challenge domain alias for DNS alias mode. See:
The domain alias for DNS alias mode. See:
If the CA offers multiple certificate chains, prefer the chain with an issuer matching this Subject Common Name. If no match, the default offered chain will be used. (default: empty) See:
-f --force
Force install, force cert renewal or override sudo restrictions.
--staging --test
Use staging server, for testing.
Output debug info. Defaults to 1 if argument is omitted.
Output all the sensitive messages. By default all the credentials/sensitive messages are hidden from the output/debug/log for security.
-w --webroot
Specifies the web root folder for web root mode.
Use standalone mode.
Use standalone alpn mode.
Use stateless mode. See:
Use apache mode.
Use dns manual mode or dns api. Defaults to manual mode when argument is omitted. See:
The time in seconds to wait for all the txt records to propagate in dns api mode. It's not necessary to use this by default, polls dns status by DOH automatically.
-k --keylength
Specifies the domain key length: 2048, 3072, 4096, 8192 or ec-256, ec-384, ec-521.
-ak --accountkeylength
Specifies the account key length: 2048, 3072, 4096
Specifies the log file. Defaults to "/app/acme/" if argument is omitted.
Specifies the log level, default is 1.
Syslog level, 0: disable syslog, 3: error, 6: info, 7: debug.
Key Identifier for External Account Binding.
HMAC key for External Account Binding.

These parameters are to install the cert to nginx/apache or any other server after issue/renew a cert

Path to copy the cert file to after issue/renew..
Path to copy the key file to after issue/renew.
Path to copy the intermediate cert file to after issue/renew.
Path to copy the fullchain cert file to after issue/renew.
Command to execute after issue/renew to reload the server.
ACME Directory Resource URI. (default: See:
Specifies a customized account config file.
Specifies the home dir for
Specifies the home dir to save all the certs, only valid for '--install' command.
Specifies the home dir to save all the configurations.
Specifies the user agent string. it will be saved for future use too.
-m --email
Specifies the account email, only valid for the '--install' and '--update-account' command.
Specifies the account key path, only valid for the '--install' command.
Specifies the days to renew the cert when using '--issue' command. The default value is 60 days.
Specifies the standalone listening port. Only valid if the server is behind a reverse proxy or load balancer.
Specifies the standalone tls listening port. Only valid if the server is behind a reverse proxy or load balancer.
Specifies the standalone/tls server listening address, in case you have multiple ip addresses.
Only used for '--list' command, list the certs in raw format.
-se --stop-renew-on-error
Only valid for '--renew-all' command. Stop if one cert has error in renewal.
Do not check the server certificate, in some devices, the api server's certificate may not be trusted.
Specifies the path to the CA certificate bundle to verify api server's certificate.
Specifies directory containing CA certificates in PEM format, used by wget or curl.
Only valid for '--install' command, which means: do not install the default cron job. In this case, the certs will not be renewed automatically.
Only valid for '--install' command, which means: do not install aliases to user profile.
Do not output color text.
Force output of color text. Useful for non-interactive use with the aha tool for HTML E-Mails.
Specifies to use the ECC cert. Valid for '--install-cert', '--renew', '--revoke', '--to-pkcs12' and '--create-csr'
Specifies the input csr.
Command to be run before obtaining any certificates.
Command to be run after attempting to obtain/renew certificates. Runs regardless of whether obtain/renew succeeded or failed.
Command to be run after each successfully renewed certificate.
The hook file to deploy cert
--ocsp --ocsp-must-staple
Generate OCSP-Must-Staple extension.
Generate new domain key on renewal. Otherwise, the domain key is not changed by default.
Valid for '--upgrade' command, indicating whether to upgrade automatically in future. Defaults to 1 if argument is omitted.
Force standalone/tls server to listen at ipv4.
Force standalone/tls server to listen at ipv6.
Specifies a custom openssl bin location.
Force to use wget, if you have both curl and wget installed.
Force use of dns manual mode. See:
-b --branch
Only valid for '--upgrade' command, specifies the branch name to upgrade to.
Set the notification level: Default value is 2. 0: disabled, no notification will be sent. 1: send notifications only when there is an error. 2: send notifications when a cert is successfully renewed, or there is an error. 3: send notifications when a cert is skipped, renewed, or error.
Set notification mode. Default value is 0. 0: Bulk mode. Send all the domain's notifications in one message(mail). 1: Cert mode. Send a message for every single cert.
Set the notify hook
The reason for revocation, can be used in conjunction with the '--revoke' command. See:
Add a password to exported pfx file. Use with --to-pkcs12. Examples

  • 正在开发

Other cmd tools

  • 正在开发