Fingerprint found in legacy. Changing fingerprint in [hostsecurity] causes an error of 'unexpected fingerprint'
Created originally on Bitbucket by KarateKidzz (James Kelly)
Other than running into multiple issues, the one that I can't fix right now is:
"(SHA-1 fingerprint for code.websitename.com found in legacy [hostfingerprints] section; if you trust this fingerprint, set the following config value in [hostsecurity] and remove the old one from [hostfingerprints] to upgrade to a more secure SHA-256 fingerprint: code.websitename.com:fingerprints=sha256:b3:41:2f:5c:f8:50:77:b6:9e:b8:36:27:05:c2:3b:98:ee:a6:10:20:3d:29:64:de:93:30:ca:22:7b:0d:64:f9)"
Like I said in the title, adding that fingerprint to host security causes an error of unexpected fingerprint. I can't, of course, query after this or it will go back to the default fingerprint; I can't choose any validation or it will say 'Certificate Verify Failed'. And all the answers I've found should have worked but don't. They were basically saying to disable validation or do something with the certificate but the repo I'm connecting to doesn't have a certificate (or they're not using it, I don't know. I've been told to use fingerprints).
I don't think this is solely connected to being on Mac as I have Windows 10 on this computer and still getting similar errors.
I've talked to the programming lead and we don't have a clue. Although, I think we're blaming the version of python on my system. But I'm not a programmer so I really don't know.
Thanks in advance, James