Skip to content
This repository was archived by the owner on Nov 29, 2024. It is now read-only.
This repository was archived by the owner on Nov 29, 2024. It is now read-only.

User passed CA certificates should not be appended to the System CAs #80

@scholzj

Description

@scholzj

If I read the code in

if !tlsConfig.RootCAs.AppendCertsFromPEM(caCert) {
correctly, it tries to append the user provided CAs to the system certificates. I think this is wrong - if user passes own CA certificates, it should be used exclusively and not mixed with some system certificates.

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