Closed timblaktu closed 2 years ago
does this mean you don't have any root CAs in your trust store? if you go to https://github.com in your browser do you get that untrusted site warning?
@chriskim06 yes. This is on a fresh Debian install.
im not sure what the security implications would be for allowing krew to not verify tls (also not sure if we want to do that). is it not an option to add github's root ca to your trust store?
I was able to install the root and intermediate ca (which was a little confusing in our corporate firewalled environment), and the issue is resolved. Thanks.
I get a certificate error cloning
krew-index
when executing the last command in the instructions:I'm on Debian 11.3, and using kubectl 1.23.5:
I get the same error trying to clone
krew-index
separately using https, but using ssh works fine:I'm able to somewhat resolve this by using the GIT_SSL_NO_VERIFY git internal env var, cloning the https repo successfully:
...and likewise applying GIT_SSL_NO_VERIFY to the original issue gets me further (it can clone now) but I still get a different certificate error in a subsequent git cloning operation:
So I then re-tried the whole install sequence using insecure everywhere (I think) and I still got certificate errors: