Browse Source

Switch x3 to r3 cert

master
Adrian Heine 4 years ago
parent
commit
750dedb752
  1. 4
      src/builder.rs
  2. 2
      src/lib.rs
  3. 2
      src/locator.rs

4
src/builder.rs

@ -6,7 +6,7 @@ use crate::resources::{
Resource, ServeCustom, ServePhp, ServeRedir, ServeService, ServeStatic, StoredDirectory, Resource, ServeCustom, ServePhp, ServeRedir, ServeService, ServeStatic, StoredDirectory,
SystemdSocketService, User, UserForDomain, WordpressPlugin, WordpressTranslation, 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::SimpleStorage;
use crate::storage::Storage; use crate::storage::Storage;
use crate::symbols::acme::Cert as CertSymbol; use crate::symbols::acme::Cert as CertSymbol;
@ -676,7 +676,7 @@ impl ImplementationBuilder<AcmeRootCert> for DefaultBuilder {
target: &<AcmeRootCert as Resource>::Artifact, target: &<AcmeRootCert as Resource>::Artifact,
(): <Self::Prerequisites as ToArtifact>::Artifact, (): <Self::Prerequisites as ToArtifact>::Artifact,
) -> Self::Implementation { ) -> Self::Implementation {
FileSymbol::new(target.clone().into(), LETS_ENCRYPT_X3_CROSS_SIGNED)
FileSymbol::new(target.clone().into(), LETS_ENCRYPT_R3_CROSS_SIGNED)
} }
} }

2
src/lib.rs

@ -22,7 +22,7 @@
clippy::future_not_send, clippy::future_not_send,
clippy::missing_errors_doc, clippy::missing_errors_doc,
clippy::module_name_repetitions, clippy::module_name_repetitions,
rustdoc,
rustdoc::all,
missing_docs, missing_docs,
missing_copy_implementations missing_copy_implementations
)] )]

2
src/locator.rs

@ -243,7 +243,7 @@ impl<P: Policy> ResourceLocator<AcmeRootCert> for DefaultLocator<P> {
let acme_user = P::acme_user(); let acme_user = P::acme_user();
let home = P::user_home(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), Dir(home),
) )
} }

Loading…
Cancel
Save