Hi!
I've made a branch with reproduction.
https://github.com/tomekowal/hackney/tree/fix/cacertfile-ignored-with-conn (first commit is just the failing test)
I believe the problem might be somewhere in:
I think it should use:
|
merge_ssl_opts(Host, OverrideOpts, Options) -> |
because that one removes cacerts when cacertfile is present.
I will open a PR with it, but it is generated by Claude, so feel free to discard it.