Configure Self-signed Server Certificate in git bash for a Particular HTTPS Remote.

openssl pkcs12 -in privateKey.p12 -nodes -out privateKey.key -nocerts
openssl pkcs12 -in privateKey.p12 -clcerts -nokeys -out privateKey.crt
git config --edit --global
http.<YOUR_REPO_URL>.sslcert=<FILEPATH>/privateKey.crt
http.<YOUR_REPO_URL>.sslkey=/<FILEPATH>/privateKey.key
http.<YOUR_REPO_URL>.sslcainfo=/<FILEPATH>/rootCA.pem

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store