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

--

--

--

Poet, Dreamer, Founder, Educator, Software Engineer, Project Manager & Trainer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Gitlab Continuous Integration & Delivery (Part-3)

Behavior-driven UI test automation with Selenium

Bring Out Your Dead: The Joy of Decommissioning Old Technology

The Tournament Team Matcher

7 Reasons to build your startup with Ruby on Rails

Bitbucket vs. Github vs. Gitlab Detailed Comparison 2021

Day- 6 K Closest Points to Origin

CSS for large projects

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
Sharjeel Nisar

Sharjeel Nisar

Poet, Dreamer, Founder, Educator, Software Engineer, Project Manager & Trainer

More from Medium

How to generate a JWT signing keys

Can we run docker inside the docker container??

State of Web Development 2022

StrongSwan VPN Configuration