Move to new LE cert

This commit is contained in:
Adrian Heine 2021-10-10 22:52:25 +02:00
parent b093a952be
commit e8b2f9fc5c
4 changed files with 33 additions and 29 deletions

View file

@ -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_R3_CROSS_SIGNED;
use crate::static_files::LETS_ENCRYPT_R3;
use crate::storage::SimpleStorage;
use crate::storage::Storage;
use crate::symbols::acme::Cert as CertSymbol;
@ -676,7 +676,7 @@ impl ImplementationBuilder<AcmeRootCert> for DefaultBuilder {
target: &<AcmeRootCert as Resource>::Artifact,
(): <Self::Prerequisites as ToArtifact>::Artifact,
) -> Self::Implementation {
FileSymbol::new(target.clone().into(), LETS_ENCRYPT_R3_CROSS_SIGNED)
FileSymbol::new(target.clone().into(), LETS_ENCRYPT_R3)
}
}

View file

@ -243,7 +243,7 @@ impl<P: Policy> ResourceLocator<AcmeRootCert> for DefaultLocator<P> {
let acme_user = P::acme_user();
let home = P::user_home(acme_user);
(
PathArtifact::from(home.join("lets_encrypt_r3_cross_signed.pem")),
PathArtifact::from(home.join("lets_encrypt_r3.pem")),
Dir(home),
)
}