use crateCertificateStore;
use crateDynamicCertificateResolver;
use Arc;
/// Creates the shared hot-reloadable certificate store used by all TLS listeners.
/// Builds a rustls server configuration that resolves certificates dynamically from the
/// store, so listeners pick up reloaded certificates without restarting.
///
/// # Errors
///
/// Returns a [`CertificateError`](crate::ssl::enums::certificate_error::CertificateError) when no certificate is available for the server.