HTTP.jl disable self signed certificate

How to disable self signed certificate in a HTTP.request in the HTTP.jl package.

IOError(MbedTLS error code -9984: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed during request

To ignore this I just could use the key-value of
require_ssl_verification = false

1 Like

is there a way how to set it globally, so even packages which use HTTP.jl would be usable with ignoring certificates?

Late, but it may help others

you need to set the environment variable JULIA_SSL_NO_VERIFY_HOSTS to your domains. See the official NetworkOptions docs for more details