diff --git a/connector.go b/connector.go index 0d8bdf7e..df10dfb8 100644 --- a/connector.go +++ b/connector.go @@ -129,7 +129,8 @@ func getHTTPResponseError(resp *http.Response) error { func (whr *WapiHttpRequestor) Init(cfg TransportConfig) { tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: !cfg.SslVerify, - RootCAs: cfg.certPool}, + RootCAs: cfg.certPool, + Renegotiation: tls.RenegotiateOnceAsClient}, MaxIdleConnsPerHost: cfg.HttpPoolConnections, }