Skip to content

Help needed with SSL certificates #493

Answered by cjdoris
egavazzi asked this question in Q&A
Discussion options

You must be logged in to vote

I think HTTP.jl just doesn't use OpenSSL's defaults at all and uses NetworkOptions instead to find the certs.

There may be some magic PythonCall can do to get this working automagically, for example it could set SSL_CERT_FILE as you do above, or could do

ssl.create_default_context.__kwdefaults__["cafile"] = NetworkOptions.ca_roots()

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@cjdoris
Comment options

@egavazzi
Comment options

@egavazzi
Comment options

@cjdoris
Comment options

Answer selected by egavazzi
@egavazzi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants