From 5887b136e38dbd572064b9189a92f68d526e6318 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Wed, 27 Jan 2016 11:56:27 +0000 Subject: [PATCH] Warn about encrypted keys in the docs. --- docs/user/advanced.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 8bd7f907..9c31950d 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -228,6 +228,9 @@ If you specify a wrong path or an invalid cert:: >>> requests.get('https://kennethreitz.com', cert='/wrong_path/client.pem') SSLError: [Errno 336265225] _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib +.. warning:: The private key to your local certificate *must* be unencrypted. + Currently, requests does not support using encrypted keys. + .. _ca-certificates: CA Certificates