hooklift/gowsdl

local error: tls: no renegotiation

SantoshSah opened this issue · 2 comments

Hi,

gowsdl throwing error local error: tls: no renegotiation even after using flag -i for wsdl https://services.360lifecycle.co.uk/leadservice.svc?wsdl and https://services.360lifecycle.co.uk/leadservice.svc?singlewsdl. Please see below screenshot.

gowsdl-error

hmm, the TLS implementation in Go has TLS renegotiation disabled by default. To enable it, one has to set the Renegotiation field as such:

config := &tls.Config{
    Renegotiation: tls.RenegotiateFreelyAsClient,
}

Thanks. I had installed using homebrew and default installation was not working. When i compiled binary with above modification, it worked.