When calling pip
, e.g. pip3 install pillow --user
[SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2548)
when calling git clone
on any repository I get:
remote: Compressing objects: 100% (66/66), done.
error: RPC failed; curl 56 OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: 6237 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
It's a Windows 10 system.
I attempted to download the newest OpenSSL and set all the system variables to point to its installation folder or config depending on the variable (OPENSSLDIR, PATH, OPENSSL_CONFIG, OPENSSL_CFG). The new version of OpenSSL was successfully detected (verified with openssl version -a
), but the errors remained. I then tried downloading mozilla certificatates.pem as I was suggested by chatgpt, and added them with certutils
, but that didn't help either.
I have tried different wifi networks - doesn't work even on university eduroam.