Keywords: git, http, clone, Ordinary Issues Notes

self signed certificate in certificate chain

clone failed using http:

Cloning into 'E:\project\source'...
fatal: unable to access 'https://user@127.0.0.1/r/myrepo.git/': SSL certificate problem: self signed certificate in certificate chain

Solution:
execute git command:

git config --global http.sslVerify false
no matching host key type found. Their offer: ssh-dss

Create file named config and paste follows under C:\Users\[User]\.ssh

Host *
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedKeyTypes +ssh-rsa
    KexAlgorithms +diffie-hellman-group1-sha1

真正的个人主义在于把你自己这块材料铸造成个东西。有时候,我觉得这个世界就好像大海上翻了船,最要紧的是救出我自己。救国需从救出你自己开始。——胡适