AC220
V2EX  ›  问与答

请问每一个网站的公钥是不是都是一样的?

  •  
  •   AC220 · Feb 2, 2023 · 3376 views
    This topic created in 1371 days ago, the information mentioned may be changed or developed.

    xxxxxxxxxxxxxxxxxxxxxxxxx.png

    试了好几个网站下载了对应的证书,在 ubuntu 环境下也下载了一份,通过 OPENSSL 进行查看,发现都是一样的值。这个是正常的吗?另外网站中的指纹是什么用处?

    14 replies  •  2023-02-06 14:27:48 +08:00
    blackshow
    blackshow
    Feb 2, 2023
    1
    你这几个应该同一张证书,是通配符证书吧,譬如*.zhihu.com 。
    证书的指纹就是证书内容的哈希值,校验用的
    julyclyde
    julyclyde
    Feb 2, 2023❤️1
    2
    终于见到了“不完全归纳法”
    mxT52CRuqR6o5
    mxT52CRuqR6o5
    Feb 2, 2023
    3
    好几个网站:指都是 zhihu
    deplivesb
    deplivesb
    Feb 2, 2023
    4
    你好歹换个域名啊
    ![20230202-Google Chrome-证书查看者:[email protected]]( https://s2.loli.net/2023/02/02/uBYIQqiUKrPpt96.png)
    知乎是通配符证书
    imnpc
    imnpc
    Feb 2, 2023
    5
    通用名称
    *.zhihu.com

    他的证书是 泛解析 SSL 证书 支持主域名下的无限二级域名
    Jooooooooo
    Jooooooooo
    Feb 2, 2023
    6
    好几个网站....zhihu?
    AC220
    AC220
    OP
    Feb 2, 2023
    7
    ![结结巴巴.png]( https://img1.imgtp.com/2023/02/02/3wlPbj59.png)
    重新试了下,除了 V2EX 的不一样,其它的都一样,这河里不?
    @blackshow @julyclyde @mxT52CRuqR6o5 @deplivesb @Jooooooooo @imnpc
    AC220
    AC220
    OP
    Feb 2, 2023
    8
    @blackshow @julyclyde @mxT52CRuqR6o5 @deplivesb @Jooooooooo @imnpc 我又仔细 看了一下,确实不一样,上一条回复不懂删,打扰了。。
    Yang2635
    Yang2635
    Feb 2, 2023 via Android
    9
    你所谓的"好几个"网站为什么逮着 zhihu.com 及该域名下面的其它网站不放?不能对比下 zhihu.com 和 baidu.com 吗?评论区都指出问题并说明了都
    AC220
    AC220
    OP
    Feb 3, 2023
    10
    @Yang2635 昨天晚上我比对了其它网站,由于相似度很高,导致这边错误判断二者是一样的。。
    julyclyde
    julyclyde
    Feb 3, 2023
    11
    相似度极高倒确实是
    证书由多个字段构成,其中那几个文本字段的字段名就是相同的啊
    julyclyde
    julyclyde
    Feb 3, 2023
    12
    建议你给 openssl x509 命令加个-text 参数吧
    AC220
    AC220
    OP
    Feb 5, 2023
    13
    @julyclyde -text 输出的内容好多。
    julyclyde
    julyclyde
    Feb 6, 2023
    14
    @AC220 因为是给活人看的嘛;给机器看就不需要那么多字
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5169 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 78ms · UTC 01:31 · PVG 09:31 · LAX 17:31 · JFK 20:31
    ♥ Do have faith in what you're doing.