From 750dedb7521338790ef5ae3451183cbd2c0a4712 Mon Sep 17 00:00:00 2001 From: Adrian Heine Date: Thu, 3 Jun 2021 00:49:22 +0200 Subject: [PATCH] Switch x3 to r3 cert --- src/builder.rs | 4 ++-- src/lib.rs | 2 +- src/locator.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/builder.rs b/src/builder.rs index 811c3f1..3c80f3a 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -6,7 +6,7 @@ use crate::resources::{ Resource, ServeCustom, ServePhp, ServeRedir, ServeService, ServeStatic, StoredDirectory, SystemdSocketService, User, UserForDomain, WordpressPlugin, WordpressTranslation, }; -use crate::static_files::LETS_ENCRYPT_X3_CROSS_SIGNED; +use crate::static_files::LETS_ENCRYPT_R3_CROSS_SIGNED; use crate::storage::SimpleStorage; use crate::storage::Storage; use crate::symbols::acme::Cert as CertSymbol; @@ -676,7 +676,7 @@ impl ImplementationBuilder for DefaultBuilder { target: &::Artifact, (): ::Artifact, ) -> Self::Implementation { - FileSymbol::new(target.clone().into(), LETS_ENCRYPT_X3_CROSS_SIGNED) + FileSymbol::new(target.clone().into(), LETS_ENCRYPT_R3_CROSS_SIGNED) } } diff --git a/src/lib.rs b/src/lib.rs index f5f883d..dc73e82 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,7 +22,7 @@ clippy::future_not_send, clippy::missing_errors_doc, clippy::module_name_repetitions, - rustdoc, + rustdoc::all, missing_docs, missing_copy_implementations )] diff --git a/src/locator.rs b/src/locator.rs index 739c8c3..31e8aea 100644 --- a/src/locator.rs +++ b/src/locator.rs @@ -243,7 +243,7 @@ impl ResourceLocator for DefaultLocator

{ let acme_user = P::acme_user(); let home = P::user_home(acme_user); ( - PathArtifact::from(home.join("lets_encrypt_x3_cross_signed.pem")), + PathArtifact::from(home.join("lets_encrypt_r3_cross_signed.pem")), Dir(home), ) }