Skip to content

Commit d321597

Browse files
set SSL_CERT_FILE and SSL_CA_BUNDLE
1 parent 4a489fb commit d321597

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ci_integration_functions.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,14 @@ function upload_to_coveralls(fcs::Vector{FileCoverage};
197197
@debug "Using environment COVERALLS_SERVICE_NUMBER" service_number=ENV["COVERALLS_SERVICE_NUMBER"]
198198
end
199199

200+
# Set SSL certificate bundle for macOS binaries (fixes SSL verification issues)
201+
if Sys.isapple()
202+
# Set the macOS system CA certificate bundle directly
203+
env["SSL_CERT_FILE"] = "/etc/ssl/cert.pem"
204+
env["SSL_CA_BUNDLE"] = "/etc/ssl/cert.pem"
205+
@debug "Using macOS system CA certificate bundle: /etc/ssl/cert.pem"
206+
end
207+
200208
# Execute command
201209
if dry_run
202210
@info "Would execute: $(join(cmd_args, " "))"

0 commit comments

Comments
 (0)