fix(http): make Hackney trust the CAStore bundle

Hackney trusts its own certifi bundle, which still has the roots of the
compromised eMudhra intermediate CAs. Pass explicit ssl_options with the
CAStore bundle. Hackney drops all its TLS defaults when ssl_options are
given, so keep peer and hostname checks in the options.
This commit is contained in:
Lain Soykaf 2026-10-21 08:21:43 +04:00
commit d8c880e494
No known key found for this signature in database
6 changed files with 102 additions and 3 deletions

View file

@ -0,0 +1 @@
Hackney now trusts only the CAStore certificate bundle instead of its outdated certifi bundle, which still trusted the compromised eMudhra intermediate CAs