mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-24 18:40:09 +08:00
Updated deployhooks (markdown)
parent
a977a0ebed
commit
2eae919cd5
@ -739,7 +739,7 @@ The certificate should now show up in "Network" -> "Certificate Manager".
|
||||
|
||||
## 25. Deploy the cert on TrueNAS Core Server
|
||||
|
||||
Before you can deploy your cert, you must [issue the cert first](https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert). If you run the acme.sh Scipt on the TrueNAS Server itself, you have to use the DNS API mode. Deploy Scipt supports TrueNas Core newer than 12.0 U3.
|
||||
Before you can deploy your cert, you must [issue the cert first](https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert). If you run the acme.sh Scipt on the TrueNAS Server itself, you have to use the DNS API mode. Deploy Scipt supports TrueNAS Core newer than 12.0 U3.
|
||||
|
||||
```sh
|
||||
# Following environment variables must be set:
|
||||
@ -755,13 +755,13 @@ Before you can deploy your cert, you must [issue the cert first](https://github.
|
||||
In the WebUI from TrueNAS you can click on the gear wheel in the top right corner than select API Keys.
|
||||
Here you can create an API Key for the next step.
|
||||
|
||||
If acme.sh is installed direkt on your TrueNAS server, then you don't have to set DEPLOY_TRUENAS_HOSTNAME. When the acme.sh scipt runs on an other system, what is possible, then you have to set the DEPLOY_TRUENAS_HOSTNAME to the IP or Hostname of the TrueNAS server. If you use the hostname, it must be DNS resolveble in your network.
|
||||
|
||||
With DEPLOY_TRUENAS_SCHEME you can choose if you use http or https. If in the TrueNAS WebGui is the Parameter "Webinterface HTTP -> HTTPS-Redirection" is activeted, then DEPLOY_TRUENAS_SCHEME is set to https per default.
|
||||
|
||||
```sh
|
||||
export DEPLOY_TRUENAS_APIKEY="1-91iX3...aSTRr4xcv1FHU"
|
||||
acme.sh --deploy -d truenas.example.com --deploy-hook truenas
|
||||
```
|
||||
|
||||
If acme.sh is installed direkt on your TrueNAS server, then you don't have to set DEPLOY_TRUENAS_HOSTNAME. When the acme.sh scipt runs on an other system, what is possible, then you have to set the DEPLOY_TRUENAS_HOSTNAME to the IP or Hostname of the TrueNAS server. If you use the hostname, it must be DNS resolveble in your local network.
|
||||
|
||||
With DEPLOY_TRUENAS_SCHEME you can choose if you use http or https. If in the TrueNAS WebGui is the Parameter "Webinterface HTTP -> HTTPS-Redirection" is activeted, then DEPLOY_TRUENAS_SCHEME is set to https per default.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user