KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The sysadmin for a project I'm on has decided that SSH is "too much trouble"; instead, he has set up Git to be accessible via an https:// URL (and username/password authentication). The server for this URL presents a self-signed certificate, so he advised everyone to turn off certificate validation. This does not strike me as a good setup, security-wise. Is it possible to tell Git that for remote X (or better, any remote in any repository that happens to begin with https://$SERVERNAME/ ) it is to accept a particular certificate, and only that certificate? Basically reduplicate SSH's server-key behavior.
Tags (comma-separated)
Save Edits
Cancel