Skip to content

Internal CA cert support for all commands #211

@nlloyd

Description

@nlloyd
safe target --ca-cert path/to/internal/ca/cert.pem https://private-cert-vault.myorg myvault
safe auth ldap
... works just fine ...
safe get path/to/any/secret
!! Transport Error: Get https://private-cert-vault.myorg:443/v1/sys/internal/ui/mounts: x509: certificate signed by unknown authority

Given the option to specify a ca-cert with the target suggests that I would be able to avoid adding a -k to every command but this is not the case.
Am I misunderstanding the intent behind --ca-cert or is this a legitimate bug?

I am using the latest release installed by brew.

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