Skip to content

crypto/x509: Document how to make custom cert root list #6267

@dsymonds

Description

@dsymonds
crypto/x509 has a hardcoded list of places to look for SSL system roots. If you're
running in an environment that doesn't have them there, you're out of luck. You either
need to modify Go, or use chroot or similar. It'd be much nicer if there was a hook in
that package such that a program could point at a different place for the root
certificates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions