Get certificate fingerprint of HTTPS server from command line?

后端 未结 5 1461

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

5条回答
  •  故里飘歌
    2020-12-01 09:37

    Since nobody commented on this I wanted to try and clear up some of the confusion regarding subdomains:

    the certificate is for *.googlecode.com. I was under the impression that this is called a wildcard domain and valid for all subdomains

    You are partially correct. A wildcard certificate is valid for all direct subdomains but not for subdomains of subdomains.

    So *.googlecode.com is valid for pydlnadms.googlecode.com but not for wiki.pydlnadms.googlecode.com.

    For that you'd need a certificate for *.pydlnadms.googlecode.com or a non-wildcard certificate for wiki.pydlnadms.googlecode.com

提交回复
热议问题