Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

is there a way to provide self-signed CA certificates? #66

Closed
killerswan opened this issue Mar 26, 2016 · 1 comment
Closed

is there a way to provide self-signed CA certificates? #66

killerswan opened this issue Mar 26, 2016 · 1 comment

Comments

@killerswan
Copy link
Contributor

I'm seeing this from Tentacat.Commits.find with a GHE using a self-signed CA:

19:02:06.119 [error] SSL: :certify: ssl_handshake.erl:1490:Fatal error: unknown ca

** (HTTPoison.Error) {:tls_alert, 'unknown ca'}
    (tentacat) lib/tentacat.ex:2: Tentacat.request!/5
    (tentacat) lib/tentacat.ex:42: Tentacat.json_request/5

I believe HTTPoison's request!/5 (which is used in Tentacat, e.g., here) takes some kind of list of options where I could specify a "cacertfile" path...

If not for #65 I'd try that, but is there an easier way to just override some HTTPoison default setting and provide a CA cert in my own project's config.exs?

@duksis
Copy link
Collaborator

duksis commented Mar 28, 2016

I assume that this can be closed as #69 is merged. Thanks @killerswan !

@duksis duksis closed this as completed Mar 28, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants