Skip to content
Myr

Merge pull request #2981 from Lukasa/unencrypted-keys

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Warn about encrypted keys in the docs.

authored by Ian Cordasco · committed by Ian Cordasco · parents 00fa5f1, 5887b13 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:docs/user/advanced.rst+3 added
226 unmodified lines
227228 >>> requests.get('https://kennethreitz.com', cert='/wrong_path/client.pem')229 SSLError: [Errno 336265225] _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib230231.. warning:: The private key to your local certificate *must* be unencrypted.232 Currently, requests does not support using encrypted keys.233234.. _ca-certificates:235236CA Certificates237---------------
661 unmodified lines