iap_curl icon indicating copy to clipboard operation
iap_curl copied to clipboard

Provision for certificates not signed from a CA

Open olttwa opened this issue 6 years ago • 1 comments

When the service has TLS over a self-signed certificate, iap_curl (which uses curl) returns the standard error:

curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

Instead, iap_curl should provision to turn off curl's verification of the certificate.

It could be achieved like this here:

	args := append(
		[]string{"-kv", "-H", authHeader}, // For IAP
		c.cfg.GetServiceArgs(url)...,
	)

olttwa avatar Feb 09 '19 21:02 olttwa

I see.

Could you send me your patch as PR?

babarot avatar Apr 12 '19 11:04 babarot