You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yesoreyeram
changed the title
Missing Go TLS configuration function TLS renegotiate
[Feature Request] Missing Go TLS configuration function TLS renegotiate
Nov 11, 2024
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.
The text was updated successfully, but these errors were encountered: