diff --git a/pages/02.linux/acme-sh/default.en.md b/pages/02.linux/acme-sh/default.en.md index 994772b..6bbc45b 100644 --- a/pages/02.linux/acme-sh/default.en.md +++ b/pages/02.linux/acme-sh/default.en.md @@ -8,19 +8,24 @@ visible: true ## Getting ACME.SH ```sh -$ git clone https://github.com/acmesh-official/acme.sh.git -$ cd ./acme.sh -$ ./acme.sh --install -m my@example.com +git clone https://github.com/acmesh-official/acme.sh.git +cd ./acme.sh +./acme.sh --install -m my@example.com ``` ## First time ZeroSSL registration -`$ (path to)/acme.sh --register-account -m (email)` +```sh +(path to)/acme.sh --register-account -m (email) +``` ## Issue new certificate -Needs root to start a server on port 80 -`# (path to)/acme.sh --issue --standalone -d (url)` +Needs root to start a server on port 80 + +```sh +(path to)/acme.sh --issue --standalone -d (url) +``` ## Issue new certificate with DNS API @@ -28,9 +33,13 @@ Needs root to start a server on port 80 ### Gandi -`export GANDI_LIVEDNS_KEY="(api key)"` +```sh +export GANDI_LIVEDNS_KEY="(api key)" +``` -`(path to)/acme.sh --issue --dns dns_gandi_livedns -d (domain)` +```sh +(path to)/acme.sh --issue --dns dns_gandi_livedns -d (domain) +``` ## Install certificate @@ -77,5 +86,8 @@ Persistent=true WantedBy=timers.target ``` -Enable timer -`systemctl enable --now acme-sh.timer` +Enable timer + +```sh +systemctl enable --now acme-sh.timer +```