KB0027 - Error "unable to get local issuer certificate" when attempting to Synchronize with Git

KB0027 - Error "unable to get local issuer certificate" when attempting to Synchronize with Git

Applicability

This article applies to any version of PowerShell Universal running on Windows, with git sync enabled and using the external git process. 

Symptom

When attempting to synchronize with a git remote, you receive the error "unable to get local issuer certificate". 

Cause

The default setting for Git on Windows is OpenSSL for SSL cryptography features. In certain circumstances, this will not work properly, and you will need to enable schannel support instead. This can be the case with self-signed certificates. 

Resolution

You can enable schannel support in the git config settings. 
  1. git config --global http.sslbackend schannel