caddy-ngrok-listener icon indicating copy to clipboard operation
caddy-ngrok-listener copied to clipboard

[TLSEndpointOption] [HTTPEndpointOption] WithMutualTLSCA

Open jtszalay opened this issue 3 years ago • 0 comments

Surface the following Tunnel Option:



// https://github.com/ngrok/ngrok-go/blob/main/config/mutual_tls.go

type mutualTLSEndpointOption []*x509.Certificate

// WithMutualTLSCA adds a list of [x509.Certificate]'s to use for mutual TLS
// authentication.
// These will be used to authenticate client certificates for requests at the
// ngrok edge.
func WithMutualTLSCA(certs ...*x509.Certificate) interface {
	HTTPEndpointOption
	TLSEndpointOption
}

jtszalay avatar Mar 13 '23 12:03 jtszalay