KB0081 - unknown certificate lookup failure during git sync

KB0081 - unknown certificate lookup failure during git sync

Scope

Users attempting to configure git sync against a self-hosted git repository such as GitLab.

Problem

The git client cannot perform a clone, pull or push. With the error unknown certificate lookup failure: 16777280.

Root Cause

The certificate that is being used by the server to provide HTTPS support is not trusted by the PowerShell Universal server. 

Workaround

The certificate needs to be added to a trusted store on the PowerShell Universal server. Alternatively, you can config git to avoid the SSL check. Run the following command as the PowerShell Universal service account. 
  1. git config --global http.sslVerify false