Skip to content

cacert is not relocatable #96

Closed
Closed
@Roger-luo

Description

@Roger-luo

global cacert = MozillaCACerts_jll.cacert

this is causing the stdlib Downloader to fail when built into a standalone application, since there is no cert.pem shipped with the application, and even it is shipped with the application this path is already fixed during the compilation.

Error Message

ERROR: Error reading ca cert file /Users/runner/hostedtoolcache/julia/1.5.3/x64/share/julia/cert.pem - mbedTLS: (-0x3E00) PK - Read/write of file failed while requesting https://julialangnightlies-s3.julialang.org/bin/mac/x64/julia-latest-mac64.dmg
Stacktrace:
 [1] (::Downloads.var"#9#17"{IOStream,Base.DevNull,Nothing,Array{Pair{String,String},1},Float64,Bool,Bool,String,Bool,Bool,Int64})(::Downloads.Curl.Easy) at /Users/roger/.ion/applications/ion/bin/ion.dylib:?
 [2] with_handle(::Downloads.var"#9#17"{IOStream,Base.DevNull,Nothing,Array{Pair{String,String},1},Float64,Bool,Bool,String,Bool,Bool,Int64}, ::Downloads.Curl.Easy) at /Users/roger/.ion/applications/ion/bin/ion.dylib:?
 [3] arg_write(::Downloads.var"#8#16"{Base.DevNull,Nothing,Array{Pair{String,String},1},Float64,Bool,Bool,String,Bool,Bool,Int64}, ::IOStream) at /Users/roger/.ion/applications/ion/bin/ion.dylib:?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions