netbird/relay/tls/client_dev.go
Zoltán Papp bca8944e7a TLS configuration
- handle the same AlPN list
- use dev build tag for debugging purposes
2024-11-27 18:14:17 +01:00

13 lines
280 B
Go

//go:build dev
package tls
import "crypto/tls"
func ClientQUICTLSConfig() *tls.Config {
return &tls.Config{
InsecureSkipVerify: true, // Debug mode allows insecure connections
NextProtos: []string{nbalpn}, // Ensure this matches the server's ALPN
}
}