From eb9e343142b7fe7392408141dab7145cb4a30ba2 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Mon, 27 Sep 2021 11:35:25 -0700 Subject: [PATCH] docs: adds amplifying note about private key formats (#1335) --- src/tls.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tls.rs b/src/tls.rs index 32ffa62..0e911d2 100644 --- a/src/tls.rs +++ b/src/tls.rs @@ -183,6 +183,8 @@ impl Identity { /// The input should contain a PEM encoded private key /// and at least one PEM encoded certificate. /// + /// Note: The private key must be in RSA or PKCS#8 format. + /// /// # Examples /// /// ```