aia-transport-go icon indicating copy to clipboard operation
aia-transport-go copied to clipboard

When transport tlsclientconfig InsecureSkipVerify is true it should skip checking certificates

Open jonee opened this issue 3 years ago • 1 comments

When transport tlsclientconfig InsecureSkipVerify is true it should skip checking certificates.

I had a use case where most of the time we have to check for certificate validity but other times we skip it. Also in development it should skip checking it altogether.

jonee avatar Jun 06 '21 16:06 jonee

Here is a patch to bring own tls client config so you could ideally have custom rootcas and flag InsecureSkipVerify as needed.

https://github.com/jonee/aia-transport-go/commit/e24717153bb992f601cdb6b76a0f3f97cc0c921f

jonee avatar Jun 06 '21 16:06 jonee