LinuxCommandLibrary

acme.sh

Shell script implementing ACME client protocol, an alternative to certbot.

TLDR

Issue a certificate using webroot mode

$ acme.sh --issue --domain [example.com] --webroot [/path/to/webroot]
copy


Issue a certificate for multiple domains using standalone mode using port 80
$ acme.sh --issue --standalone --domain [example.com] --domain [www.example.com]
copy


Issue a certificate using standalone TLS mode using port 443
$ acme.sh --issue --alpn --domain [example.com]
copy


Issue a certificate using a working Nginx configuration
$ acme.sh --issue --nginx --domain [example.com]
copy


Issue a certificate using a working Apache configuration
$ acme.sh --issue --apache --domain [example.com]
copy


Issue a wildcard (\*) certificate using an automatic DNS API mode
$ acme.sh --issue --dns [dns_cf] --domain [*.example.com]
copy


Install certificate files into the specified locations (useful for automatic certificate renewal)
$ acme.sh --install-cert -d [example.com] --key-file [/path/to/example.com.key] --fullchain-file [/path/to/example.com.cer] --reloadcmd ["systemctl force-reload nginx"]
copy

DESCRIPTION

ACME - the ACME Crossassembler for Multiple Environments

Usage: acme [OPTION...] [FILE]...

OPTIONS

-h, --help

show this help and exit

-f, --format FORMAT

set output file format

-o, --outfile FILE

set output file name

-r, --report FILE

set report file name

-l, --symbollist FILE

set symbol list file name

--labeldump

(old name for --symbollist)

--vicelabels FILE

set file name for label dump in VICE format

--setpc NUMBER

set program counter

--cpu CPU

set target processor

--initmem NUMBER

define 'empty' memory

--maxerrors NUMBER set number of errors before exiting

--maxdepth NUMBER

set recursion depth for macro calls and !src

-vDIGIT

set verbosity level

-DSYMBOL=VALUE

define global symbol

-Wno-label-indent

suppress warnings about indented labels

-Wno-old-for

suppress warnings about old "!for" syntax

-Wtype-mismatch

enable type checking (warn about type mismatch)

--use-stdout

fix for 'Relaunch64' IDE (see docs)

--msvc

set output error message format to that of MS Visual Studio

--color

enable colored error output using ANSI escape codes

-V, --version

show version and exit

Platform independent version.

Copied to clipboard