Open nullspace-dev opened 3 months ago
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.
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.