docs: adds amplifying note about private key formats (#1335)

This commit is contained in:
Joshua Gilman
2021-09-27 11:35:25 -07:00
committed by GitHub
parent cfa301c7fa
commit eb9e343142

View File

@@ -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
///
/// ```