geesefs icon indicating copy to clipboard operation
geesefs copied to clipboard

How to ignore certificate validation

Open kesavkolla opened this issue 1 year ago • 3 comments

I have a custom minio endpoint which has certifcate issued by certmanager. When I try to use geesefs with endpoing https I am getting error certificate authority is not valid.

How can I either turn off https and use http or ignore the TLS certificate check?

Thanks

kesavkolla avatar Jul 26 '22 02:07 kesavkolla

Hi, as far as I can see golang doesn't have an environment variable to do that. You can try to just add your own certificate into trusted certificates (/etc/ssl/certs/ca-certificates.crt). Or I can add an option if you really need to be able to bypass the check :-) it can be done from code.

vitalif avatar Sep 02 '22 14:09 vitalif

I think better is to support option of http directly.

kesavkolla avatar Oct 10 '22 07:10 kesavkolla

How about a way to specify additional CA certificates to trust? Many applications are able to do that.

thetredev avatar Dec 19 '23 18:12 thetredev