|
|
@ -211,21 +211,23 @@ Invoked when the ownership of a domain must be proved using the |
|
|
|
.Em http-01 |
|
|
|
challenge. The available template variables are: |
|
|
|
.Bl -tag -compact |
|
|
|
.It Cm domain Ar string |
|
|
|
The domain name whom ownership is currently being validated. |
|
|
|
.It Cm challenge Ar string |
|
|
|
The name of the challenge type |
|
|
|
.Aq http-01 . |
|
|
|
Mostly used in hooks with multiple types. |
|
|
|
.It Cm domain Ar string |
|
|
|
The domain name whom ownership is currently being validated. |
|
|
|
.It Cm env Ar array |
|
|
|
Array containing all the environment variables. |
|
|
|
.It Cm file_name Ar string |
|
|
|
Name of the file containing the proof. This is not a full path and does not include the |
|
|
|
.Ql .well-known/acme-challenge/ |
|
|
|
prefix. |
|
|
|
.It Cm is_clean_hook Ar bool |
|
|
|
False |
|
|
|
.It Cm proof Ar string |
|
|
|
The content of the proof that must be written to |
|
|
|
.Em file_name . |
|
|
|
.It Cm is_clean_hook Ar bool |
|
|
|
False |
|
|
|
.El |
|
|
|
.It Ic challenge-http-01-clean |
|
|
|
Invoked once a domain ownership has been proven using the |
|
|
@ -241,20 +243,22 @@ Invoked when the ownership of a domain must be proved using the |
|
|
|
.Em dns-01 |
|
|
|
challenge. The available template variables are: |
|
|
|
.Bl -tag -compact |
|
|
|
.It Cm domain Ar string |
|
|
|
The domain name whom ownership is currently being validated. |
|
|
|
.It Cm challenge Ar string |
|
|
|
The name of the challenge type |
|
|
|
.Aq dns-01 . |
|
|
|
Mostly used in hooks with multiple types. |
|
|
|
.It Cm domain Ar string |
|
|
|
The domain name whom ownership is currently being validated. |
|
|
|
.It Cm env Ar array |
|
|
|
Array containing all the environment variables. |
|
|
|
.It Cm is_clean_hook Ar bool |
|
|
|
False |
|
|
|
.It Cm proof Ar string |
|
|
|
The content of the proof that must be written to a |
|
|
|
.Ql TXT |
|
|
|
entry of the DNS zone for the |
|
|
|
.Ql _acme-challenge |
|
|
|
subdomain. |
|
|
|
.It Cm is_clean_hook Ar bool |
|
|
|
False |
|
|
|
.El |
|
|
|
.It Ic challenge-dns-01-clean |
|
|
|
Invoked once a domain ownership has been proven using the |
|
|
@ -270,12 +274,16 @@ Invoked when the ownership of a domain must be proved using the |
|
|
|
.Em tls-alpn-01 |
|
|
|
challenge. The available template variables are: |
|
|
|
.Bl -tag -compact |
|
|
|
.It Cm domain Ar string |
|
|
|
The domain name whom ownership is currently being validated. |
|
|
|
.It Cm challenge Ar string |
|
|
|
The name of the challenge type |
|
|
|
.Aq tls-alpn-01 . |
|
|
|
Mostly used in hooks with multiple types. |
|
|
|
.It Cm domain Ar string |
|
|
|
The domain name whom ownership is currently being validated. |
|
|
|
.It Cm env Ar array |
|
|
|
Array containing all the environment variables. |
|
|
|
.It Cm is_clean_hook Ar bool |
|
|
|
False |
|
|
|
.It Cm proof Ar string |
|
|
|
Plain-text representation of the |
|
|
|
.Em acmeIdentifier |
|
|
@ -285,8 +293,6 @@ ALPN extension value. |
|
|
|
.Xr acmed 8 |
|
|
|
will not generate the certificate itself since it can be done using |
|
|
|
.Xr tacd 8 . |
|
|
|
.It Cm is_clean_hook Ar bool |
|
|
|
False |
|
|
|
.El |
|
|
|
.It Ic challenge-tls-alpn-01-clean |
|
|
|
Invoked once a domain ownership has been proven using the |
|
|
@ -304,10 +310,12 @@ a non-existent file |
|
|
|
.Em created . |
|
|
|
The available template variables are: |
|
|
|
.Bl -tag -compact |
|
|
|
.It Cm file_name Ar string |
|
|
|
Name of the impacted file. |
|
|
|
.It Cm env Ar array |
|
|
|
Array containing all the environment variables. |
|
|
|
.It Cm file_directory Ar string |
|
|
|
Name of the directory where the impacted file is located. |
|
|
|
.It Cm file_name Ar string |
|
|
|
Name of the impacted file. |
|
|
|
.It Cm file_path Ar string |
|
|
|
Full path to the impacted file. |
|
|
|
.El |
|
|
@ -338,14 +346,16 @@ type. |
|
|
|
.It Ic post-operation |
|
|
|
Invoked at the end of the certificate request process. The available template variables are: |
|
|
|
.Bl -tag -compact |
|
|
|
.It Cm domains Ar string |
|
|
|
Array containing the domain names included in the requested certificate. |
|
|
|
.It Cm algorithm Ar string |
|
|
|
Name of the algorithm used in the certificate. |
|
|
|
.It Cm status Ar string |
|
|
|
Human-readable status. If the certificate request failed, it contains the error description. |
|
|
|
.It Cm domains Ar string |
|
|
|
Array containing the domain names included in the requested certificate. |
|
|
|
.It Cm env Ar array |
|
|
|
Array containing all the environment variables. |
|
|
|
.It Cm is_success Ar boolean |
|
|
|
True if the certificate request is successful. |
|
|
|
.It Cm status Ar string |
|
|
|
Human-readable status. If the certificate request failed, it contains the error description. |
|
|
|
.El |
|
|
|
.El |
|
|
|
.Sh FILES |
|
|
@ -460,7 +470,7 @@ args = [ |
|
|
|
] |
|
|
|
stdin = """Subject: Certificate renewal {{#if is_success}}succeeded{{else}}failed{{/if}} for {{domains.[0]}} |
|
|
|
|
|
|
|
The following certificate has {{#unless is_success}}*not* {{/if}}been renewed. |
|
|
|
The following certificate has {{#unless is_success}}*not* {{/unless}}been renewed. |
|
|
|
domains: {{#each domains}}{{#if @index}}, {{/if}}{{this}}{{/each}} |
|
|
|
algorithm: {{algorithm}} |
|
|
|
status: {{status}}""" |
|
|
|