Update acme page

This commit is contained in:
RealStickman 2023-02-28 16:20:14 +01:00
parent a21edb357f
commit a22df331a2

View File

@ -16,7 +16,7 @@ cd ./acme.sh
## First time ZeroSSL registration ## First time ZeroSSL registration
```sh ```sh
(path to)/acme.sh --register-account -m (email) .acme.sh/acme.sh --register-account -m (email)
``` ```
## Issue new certificate ## Issue new certificate
@ -24,7 +24,7 @@ cd ./acme.sh
Needs root to start a server on port 80 Needs root to start a server on port 80
```sh ```sh
(path to)/acme.sh --issue --standalone -d (url) .acme.sh/acme.sh --issue --standalone -d (url)
``` ```
## Issue new certificate with DNS API ## Issue new certificate with DNS API
@ -38,7 +38,7 @@ export GANDI_LIVEDNS_KEY="(api key)"
``` ```
```sh ```sh
(path to)/acme.sh --issue --dns dns_gandi_livedns -d (domain) .acme.sh/acme.sh --issue --dns dns_gandi_livedns -d (domain)
``` ```
## Install certificate ## Install certificate
@ -46,7 +46,7 @@ export GANDI_LIVEDNS_KEY="(api key)"
Make sure to create the `/etc/acme-sh/(url)` directory Make sure to create the `/etc/acme-sh/(url)` directory
```sh ```sh
$ export url=woodpecker.exu.li \ export url={URL} \
&& mkdir -p /etc/acme-sh/{$url} \ && mkdir -p /etc/acme-sh/{$url} \
&& .acme.sh/acme.sh --install-cert -d $url \ && .acme.sh/acme.sh --install-cert -d $url \
--key-file /etc/acme-sh/{$url}/key.pem \ --key-file /etc/acme-sh/{$url}/key.pem \