Skip to content

Zig only reads CA Certificates from SystemRootCertificates.keychain and not from System.keychain #22700

@dreilly1982

Description

@dreilly1982

Zig Version

0.14.0-dev.2989+bf6ee7cb3

Steps to Reproduce and Observed Behavior

run zig fetch <url> returns error: unable to connect to server: TlsInitializationFailed this is due to a TLS intercept using a coporate signed TLS certificate.

Expected Behavior

I am very sure that this was intended as written, however many organizations use TLS intercept on their devices. Allowing to read certificates from both /System/Library/Keychains/SystemRootCertificates.keychain as well as /Library/Keychains/System.keychain would allow trusted intercept certificates to be installed in the System keychain, and still be trusted for actions such as "zig build fetch".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions