postrust_proxy/tls/mod.rs
1//! TLS and ACME certificate management.
2
3mod cert_store;
4pub(crate) mod server;
5mod validate;
6
7#[cfg(feature = "acme")]
8mod acme;
9
10pub use cert_store::{Certificate, CertificateStore};
11pub use server::{build_server_config, load_server_config, ALPN_PROTOCOLS};
12pub use validate::{expiry_of, facts, validate_for_domain, CertificateFacts};
13
14#[cfg(feature = "acme")]
15pub use acme::{
16 find_challenge, AcmeChallengeResponse, AcmeIssuer, LETS_ENCRYPT_PRODUCTION,
17 LETS_ENCRYPT_STAGING,
18};