File tree Expand file tree Collapse file tree 8 files changed +537
-8
lines changed Expand file tree Collapse file tree 8 files changed +537
-8
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ certificate management (ACMEv2) protocol.
11
11
12
12
The module implements following specifications:
13
13
14
- * [ RFC8555] (Automatic Certificate Management Environment) with limitations:
15
- * Only HTTP-01 challenge type is supported
16
- * External account binding is not supported
14
+ - [ RFC8555] (Automatic Certificate Management Environment) with limitations:
15
+ - Only HTTP-01 challenge type is supported
16
+ - External account binding is not supported
17
+ - [ RFC8737] (ACME TLS Application-Layer Protocol Negotiation (ALPN) Challenge
18
+ Extension)
17
19
18
20
[ NGINX ] : https://nginx.org/
19
21
[ RFC8555 ] : https://www.rfc-editor.org/rfc/rfc8555.html
22
+ [ RFC8737 ] : https://www.rfc-editor.org/rfc/rfc8737.html
20
23
21
24
## Getting Started
22
25
@@ -166,6 +169,19 @@ Accepted values:
166
169
The generated account keys are preserved across reloads, but will be lost on
167
170
restart unless [ state_path] ( #state_path ) is configured.
168
171
172
+ ### challenge
173
+
174
+ ** Syntax:** challenge ` type `
175
+
176
+ ** Default:** http-01
177
+
178
+ ** Context:** acme_issuer
179
+
180
+ Sets challenge type used for this issuer. Allowed values:
181
+
182
+ - ` http-01 `
183
+ - ` tls-alpn-01 `
184
+
169
185
### contact
170
186
171
187
** Syntax:** contact ` url `
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ pub struct NewCertificateOutput {
41
41
42
42
pub struct AuthorizationContext < ' a > {
43
43
pub thumbprint : & ' a [ u8 ] ,
44
+ pub pkey : & ' a PKeyRef < Private > ,
44
45
}
45
46
46
47
pub struct AcmeClient < ' a , Http >
@@ -332,6 +333,7 @@ where
332
333
333
334
let order = AuthorizationContext {
334
335
thumbprint : self . key . thumbprint ( ) ,
336
+ pkey : & pkey,
335
337
} ;
336
338
337
339
for ( url, authorization) in authorizations {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ use super::AuthorizationContext;
10
10
use crate :: conf:: identifier:: Identifier ;
11
11
12
12
pub mod http;
13
+ pub mod tls_alpn;
13
14
14
15
#[ derive( Debug , Error ) ]
15
16
#[ error( "challenge registration failed: {0}" ) ]
You can’t perform that action at this time.
0 commit comments