Acme.sh is a pure Unix shell script implementing the ACME client protocol.
- git clone https://github.com/acmesh-official/acme.sh.git
- cd acme.sh
- doas sh acme.sh --install -m <team support email> --home /usr/local/acme.sh
The installation does pretty much everything, including setting up a cron job so no more work is needed.
It is as simple as running doas /usr/local/acme.sh/acme.sh --issue -d <domain> -w <webroot>. Then for more domains or SANs, just add more -d options with its arguments to the command line