-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.32.3 does not load system CA certificates when using an Adapter #6736
Comments
Hi @WhyNotHugo, I think this is a duplicate of #6730 which was opened after your original comment. We'll track progress there. |
Sorry, forgot to double-check. |
@WhyNotHugo did you solve it ? I'm struggling with the same
since I updated cryptography |
@alesisjoan Either use dependency |
Hi Hugo!
Yep, it was something with requests library.
In my case it was using 2.32 so I force a downgrade to 2.25.1
Muchas gracias!
El mié., 3 de julio de 2024 12:09, Hugo ***@***.***> escribió:
… @alesisjoan <https://github.com/alesisjoan> Either use dependency
"requests!=2.32.0,!=2.32.1,!=2.32.2", or explicitly load default certs:
https://github.com/WhyNotHugo/django-afip/blob/8ea6dbd79d9cfe52409d9bbf3d61069ea8efbdb0/django_afip/clients.py#L44-L57
—
Reply to this email directly, view it on GitHub
<#6736 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFXOPDLYUMY5EZOR2NEJSDZKQH2JAVCNFSM6AAAAABI6OTL66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGQ3TGNZZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Given this snippet:
On
requests==2.31.0
, this works fine (e.g.: system CAs are loaded by default).As of
2.32.2
, the system CAs are no longer loaded by default, and the commentedcontext.load_default_certs()
lines need to be included too.Expected Result
Above snippet should work; system CAs should be loaded.
Actual Result
Above snippet fails with:
System Information
Further context
#6710 (comment)
The text was updated successfully, but these errors were encountered: