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