help = "Private key for the certificate." )] pub key: PathBuf, } fn get_key_and_cert_chain(certs: Certs) -> anyhow::Result<(PrivateKey, Vec<Certificate>)> { let key_path = certs.key; let cert_path = certs.cert; let key = std::fs::read(&key_path).context("failed to read ...