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

Stretch: [ngrok ConnectionOption] WithCA #7

Open
jtszalay opened this issue Mar 13, 2023 · 0 comments
Open

Stretch: [ngrok ConnectionOption] WithCA #7

jtszalay opened this issue Mar 13, 2023 · 0 comments

Comments

@jtszalay
Copy link
Contributor

Various connection options have yet to be surfaced. This is one of them.

// WithCA configures the CAs used to validate the TLS certificate returned by
// the ngrok service while establishing the session. Use this option only if
// you are connecting through a man-in-the-middle or deep packet inspection
// proxy.
//
// See the [root_cas parameter in the ngrok docs] for additional details.
//
// [root_cas parameter in the ngrok docs]: https://ngrok.com/docs/ngrok-agent/config#root_cas
func WithCA(pool *x509.CertPool) ConnectOption
@jtszalay jtszalay changed the title [ngrok ConnectionOption] WithCA Stretch: [ngrok ConnectionOption] WithCA Mar 18, 2023
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