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

Missing Go TLS configuration function TLS renegotiate #957

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

Missing Go TLS configuration function TLS renegotiate #957

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

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.

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

No branches or pull requests

1 participant