[Git] unable to get local issuer certificate

  • 986
  • 0

摘要:[Git] unable to get local issuer certificate

C:\> git clone https://xxx.git
 
fatal: unable to access 'https://xxx.git': SSL certificate problem: unable to get local issuer certificate
 
提示SSL certificate 錯誤。
 
這個錯誤是系統證書的問題,系統判斷到這個行為會造成不良影響,所以進行了阻止,只要設定跳過SSL證書驗證就可以了:
 
C:\> git config --global http.sslVerify false