niemeyer / gopkg

Source code for the gopkg.in service.
Other
537 stars 85 forks source link

Do not accept self-signed certificates #73

Closed LY1806620741 closed 4 years ago

LY1806620741 commented 4 years ago

if you see some error stream likes fatal: unable to access 'https://gopkg.in/russross/blackfriday.v2/': SSL certificate problem: self signed certificate in certificate chain package gopkg.in/russross/blackfriday.v2: exit status 128, you can try to close git sslverify by command git config --global http.sslVerify false and try it again.

EDIT(niemeyer): Do NOT do that.

niemeyer commented 4 years ago

No, never ever do that. It means you're potentially picking up your source code from an arbitrary middle man.