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

[Feature Request] Missing Go TLS configuration function TLS renegotiate #957

Open
nullspace-dev opened this issue Aug 14, 2024 · 0 comments
Labels

Comments

@nullspace-dev
Copy link

Describe the bug

There is a missing function that could be useful for working around some legacy or lagging APIs.

Renegotiation: tls.RenegotiateOnceAsClient,

line 35 in client.go

func GetTLSConfigFromSettings(settings models.InfinitySettings) (*tls.Config, error) {
tlsConfig := &tls.Config{
InsecureSkipVerify: settings.InsecureSkipVerify,
ServerName: settings.ServerName,
Renegotiation: tls.RenegotiateOnceAsClient,
}

this is currently necessary for us to communicated with an on-prem security product API that's running on IIS.

@yesoreyeram yesoreyeram changed the title Missing Go TLS configuration function TLS renegotiate [Feature Request] Missing Go TLS configuration function TLS renegotiate Nov 11, 2024
@yesoreyeram yesoreyeram added the type/feature-request New feature or request label Nov 11, 2024
@yesoreyeram yesoreyeram moved this to Backlog in OSS Big Tent Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants