Recently Mercurial has added certificate validation when connecting to HTTPS servers. I'm trying to clone the wiki repository for a googlecode project at https://wiki.pydlnadms.googlecode.com/hg/
, but the certificate is for *.googlecode.com
. I was under the impression that this is called a wildcard domain and valid for all subdomains, but I'm receiving the error:
matt@stanley:~/src$ hg clone https://wiki.pydlnadms.googlecode.com/hg/ pydlnadms-wiki
abort: wiki.pydlnadms.googlecode.com certificate error: certificate is for *.googlecode.com
Allegedly I need to add the certificate fingerprint to my hgrc. How do I retrieve this fingerprint from the command line?
Parent Question: Hosting images on Google Code
question from:
https://stackoverflow.com/questions/5164804/get-certificate-fingerprint-of-https-server-from-command-line 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…