Open smutel opened 3 years ago
construct your client with this: https://github.com/go-openapi/runtime/blob/master/client/runtime.go#L86
I am not an expert in Go. Could you please tell me how to put the struct TLSClientOptions
in my code ?
@smutel You can create a TLSClient with TLSClientOption, which accepts several options:
InsecureSkipVerify
: disables server cert check on the client sideUse: client.TLSClient(client.TLSClientOption{InsecureSkipVerify: true})
Hello,
I am using this piece of code:
I would like to add an option to not verify SSL cert. What is the easiest way to accomplish this ?
Thanks.