Page MenuHomeNicheWork Phabricator

MABS: Respect GIT_SSL_CAINFO and http.sslCAInfo
Open, NormalPublic

Description

Use exported certificate in git commands

Once the certificate is saved on the client you can instruct your git client to use it to trust the remote repository:

# Initial clone
GIT_SSL_CAINFO=/path/to/certificate.pem
git clone https://username@git.example.com/scm/repository.git

# Ensure all future interactions with origin remote also work
cd repository
git config http.sslCAInfo /path/to/certificate.pem

Event Timeline

hexmode created this task.May 9 2019, 3:53 PM
hexmode triaged this task as Normal priority.
hexmode moved this task from Restricted Project Column to Restricted Project Column on the Unknown Object (Project) board.Aug 8 2019, 11:05 AM
hexmode shifted this object from the Restricted Space space to the S3 Public NicheWork space.Sep 30 2019, 5:52 PM
hexmode changed the visibility from "All Users" to "Public (No Login Required)".