Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable TLS validation #25

Open
sempervictus opened this issue Aug 28, 2022 · 0 comments
Open

Disable TLS validation #25

sempervictus opened this issue Aug 28, 2022 · 0 comments

Comments

@sempervictus
Copy link

We have rportd and rport-pairing running in our private cloud with the client and pairing endpoints exposed on the WAN at their respective ports, but the API only accessible through the private networks within the cloud on another port (for which we use the internal IPs or DNS names served up by Designate). This creates a bit of a problem for rportcli:

$ rportcli client list
FATAL: operation failed with an error: Get "https://internal.host.local:9443/api/v1/clients?fields%5Bclients%5D=id%2Cname%2Ctimezone%2Ctunnels%2Caddress%2Chostname%2Cos_kernel%2Cconnection_state%2Cdisconnected_at&page%5Blimit%5D=50&page%5Boffset%5D=0": x509: certificate is valid for wan.host.tld, not internal.host.local

This is something i run into with Go and Rust quite a bit - produced binaries don't have a --disable-cert-validation type of CLI flag. Any chance there is one, or an environment variable i can set, and i'm just not seeing it in the CLI or the docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant