Skip to content

Connection Refused Issue with localhost, ::1, IPv4/IPv6 and selfsigned certificate #170

@wolowizard

Description

@wolowizard

Hi,

I'm developing a small script to automatically store secrets data in Hashicorp vault. I have Hashicorp vault for development with a selfsigned certificate on my laptop, configured to store some secrets. I can access it with a browser without any problems.

when i run the script with trace
CRO_TRACE=1 ./vault-creds

I get "connection refused", when i exchange localhost with the IP 127.0.0.1 the error is "permission denied".

Maybe the issue is that it is only the hostname localhost without a dot? I'm not sure what happens.

Kind regards
Peter

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