суббота, 13 февраля 2016 г.

Git LFS and error "x509: certificate signed by unknown authority" on post

If you use self-signed certificate or you certificate provider unknown for your system (as StartSSL in my case), then you get x509: certificate signed by unknown authority error when try to push or clone/fetch your repo with LFS files.
In this case you can tell Git and Git LFS to ignore SSL certificate verification.
It is possible to disable it for one command:
$ GIT_SSL_NO_VERIFY=1 git ...
Or you can disable it completely to repository:
$ git config http.sslverify false 
$ git ...

1 комментарий: