During a git sync, I faced this error on a corporate network. This could have multiple reasons, the most common one is a network security setting is blocking the revocation list to prevent MITM attacks.
First, check your git config if you are using the OpenSSL lib:
1 2 3 4 5 |
#Check your git config with: git config --list #For the following setting: http.sslbackend=openssl |
If the backend is not using OpenSSL, change it with the following command:
1 2 |
git config --global http.sslBackend openssl git config --global http.sslVerify true |
When the issue still persist, disable the revocation list check. Which is also a safe option (in my opinion).
1 |
git config --global http.schannelCheckRevoke false |