25. Parmater explaind
parent
b810fd30be
commit
7a0dee11d4
|
@ -749,13 +749,16 @@ Before you can deploy your cert, you must [issue the cert first](https://github.
|
||||||
# The following environmental variables may be set if you don't like their
|
# The following environmental variables may be set if you don't like their
|
||||||
# default values:
|
# default values:
|
||||||
#
|
#
|
||||||
# DEPLOY_TRUENAS_HOSTNAME - defaults to localhost
|
# DEPLOY_TRUENAS_HOSTNAME - defaults to localhost # Specify if not using on localhost
|
||||||
# DEPLOY_TRUENAS_SCHEME - defaults to http, set alternatively to https```
|
# DEPLOY_TRUENAS_SCHEME - defaults to http, set alternatively to https
|
||||||
|
|
||||||
```
|
```
|
||||||
In the WebUI from TrueNAS you can click on the gear wheel in the top right corner than select API Keys.
|
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.
|
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.
|
||||||
|
|
||||||
|
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
|
```sh
|
||||||
export DEPLOY_TRUENAS_APIKEY="1-91iX3...aSTRr4xcv1FHU"
|
export DEPLOY_TRUENAS_APIKEY="1-91iX3...aSTRr4xcv1FHU"
|
||||||
acme.sh --deploy -d truenas.example.com --deploy-hook truenas
|
acme.sh --deploy -d truenas.example.com --deploy-hook truenas
|
||||||
|
|
Loading…
Reference in New Issue