fix: add ca_chain and crl_pem to enrollment response and persist CRL to disk
Co-authored-by: git-echo <git-echo@moon-dragon.us>
This commit is contained in:
committed by
GitHub
parent
70f2666c2e
commit
624f9017b3
@ -178,8 +178,10 @@ async fn test_full_enrollment_flow_happy_path() {
|
||||
let tls_config = build_tls_config(cert_dir.path());
|
||||
provision::provision_pki_bundle(
|
||||
&bundle.ca_crt,
|
||||
&bundle.ca_chain,
|
||||
&bundle.server_crt,
|
||||
&bundle.server_key,
|
||||
&bundle.crl_pem,
|
||||
Some(&tls_config),
|
||||
)
|
||||
.await
|
||||
@ -445,8 +447,10 @@ async fn test_certificate_permission_verification() {
|
||||
let tls_config = build_tls_config(cert_dir.path());
|
||||
provision::provision_pki_bundle(
|
||||
&bundle.ca_crt,
|
||||
&bundle.ca_chain,
|
||||
&bundle.server_crt,
|
||||
&bundle.server_key,
|
||||
&bundle.crl_pem,
|
||||
Some(&tls_config),
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user