HTTP.get Error

Version 0.7.0 (2018-08-08 06:46 UTC)
Official http://julialang.org/ release
x86_64-w64-mingw32
WIN7 64

What wrong ?

julia> using HTTP
julia> using MbedTLS
julia> pomp="https://www.pomponik.pl/"
"https://www.pomponik.pl/"

julia> r = HTTP.request("GET", pomp; cookies=true);
ERROR: IOError(MbedTLS error code -9984: X509 - Certificate verification failed, e.g. CRL, CA or signature check
 failed during request(https://www.pomponik.pl/))

Stacktrace:
 [1] handshake(::MbedTLS.SSLContext) at C:\Users\PC\.julia\packages\MbedTLS\X4xar\src\ssl.jl:83
 [2] handshake! at C:\Users\PC\.julia\packages\MbedTLS\X4xar\src\MbedTLS.jl:141 [inlined]
 [3] #sslconnection#18(::Bool, ::SSLConfig, ::Base.Iterators.Pairs{Symbol,Nothing,Tuple{Symbol},NamedTuple{(:iof
unction,),Tuple{Nothing}}}, ::Function, ::Sockets.TCPSocket, ::SubString{String}) at C:\Users\PC\.julia\packages
\HTTP\lZVI1\src\ConnectionPool.jl:637
 [4] #sslconnection at .\none:0 [inlined]
 [5] #getconnection#17(::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},Tuple{Symbol,Symbol},NamedTuple{(:requ

Thanks, Paul

https://github.com/JuliaWeb/HTTP.jl/issues/89

maybe re-open this issue

1 Like