Tuesday, November 29, 2016

Install Git developer certificates

Update Git Certificate (Developers)

Developers need to configure their local Git client to use a specially modified certificate in order to connect to the Geisinger-hosted source code repository.  This step is not necessary for users who just need to access the Geisinger TFS website.


1. Install Git for Windows (aka 'Git client tools')
2. Note the folder (C:\Program Files\Git\bin)
3. Update your environment variable if neceessary

This is how you can do it:

right-click "My Computer",
select "Properties",
open "Advanced",
click "Environment Variables",
highlight the "Path" variable,
click "Edit",
add your specific path to front of "Variable value" field, separated by a semicolon from the existing entry. Do not add a space between ; and last entry

4. Run the following command in Windows Command Prompt from any location:

git config --global http.sslCAInfo "C:/Users/okogan/Downloads/ca-bundle.crt"

Path to ca-bundle.crt file or any other certificate file for that matter is unique of course.


No comments:

Post a Comment