elixir-mint / castore

Up-to-date certificate store for Elixir. 🔐
161 stars 20 forks source link

Add cacerts/0 #20

Closed garthk closed 4 years ago

garthk commented 4 years ago

Extracted from our workaround for benoitc/hackney#633 while waiting for certifi/erlang-certifi#39.

whatyouhide commented 4 years ago

@garthk I'm confused, can't you use cacertfile: CAStore.file_path() in the options?

whatyouhide commented 4 years ago

Yep, confirmed you can use :cacertfile. The expired certificate was fixed anyways. Thanks for the PR! 💟

garthk commented 4 years ago

😂 I'd tried cacertfile, but failed because I wasn't putting it in the ssl_options block. Cheers!