19930618
V2EX  ›  SSL

被吊销的 SSL 证书在 PC 的 chrome 上奇怪问题

  •  
  •   19930618 · Oct 29, 2020 · 3485 views
    This topic created in 2069 days ago, the information mentioned may be changed or developed.
    我今天 vx 公众号上访问: https://wxjj.scienmedia.com/ 。提示证书存在问题
    然后我用 ios 自带的 safari 和 chrome 上也是提示证书异常
    可我在 PC 端的 chrome 上访问提示证书有效。
    myssl.com 检测,提示证书被吊销
    我就不信邪,把 chrome 更新到最新。。还是证书有效。。
    后来我用 IE 。。发现连 IE 都报证书已被吊销。。
    可我的 PC 端的 chrome 始终提示是有效的。。奇怪

    没事了。过了 1 个小时。chrome 也提示无效了
    7 replies    2020-11-26 16:48:05 +08:00
    0TSH60F7J2rVkg8t
        1
    0TSH60F7J2rVkg8t  
       Oct 29, 2020
    Edge 也不能提示已被吊销,IE 和 Firefox 都可以。好奇怪。不知道为什么。
    0TSH60F7J2rVkg8t
        2
    0TSH60F7J2rVkg8t  
       Oct 29, 2020
    https://certificate.revocationcheck.com/wxjj.scienmedia.com
    这里可以看到是

    OCSP response information
    Source: OCSP server listed in Certificate
    Location: http://ocsp.digicert.com
    Size: 490 bytes (DER)
    Response time: 110.531034ms
    Signature algorithm: SHA256-RSA
    Signature type: CA Signed
    Reported statuses: 1
    This update: Oct 28, 2020 11:44:59 PM
    Next update: Nov 4, 2020 10:59:59 PM
    Produced at: Oct 28, 2020 11:44:59 PM
    Server status: Success
    Status: Revoked

    吊销的。

    Firefox 的设置,隐私和安全里,最下面有一个选项,默认是勾上的:

    查询 OCSP 响应服务器,以确认证书当前是否有效(Q)

    所以,应该是这些浏览器查询了 OCSP 的 验证列表,然后发现吊销的。而 Chrome 可能并没有实时检查吊销列表。
    19930618
        3
    19930618  
    OP
       Oct 29, 2020
    @ahhui 好像是 chrome 拉 OCSP 的频率比较低,不是每次都去查询有效性。要等浏览器里 OCSP 缓存到期了才会重新去拉
    dzdh
        4
    dzdh  
       Oct 29, 2020   ❤️ 1
    foMM
        5
    foMM  
       Oct 29, 2020   ❤️ 1
    chrome 不用 ocsp,它用的 CRLsets
    0TSH60F7J2rVkg8t
        6
    0TSH60F7J2rVkg8t  
       Oct 29, 2020
    @dzdh 感谢,受教了。
    SHENGXINKAI
        7
    SHENGXINKAI  
       Nov 26, 2020
    只是缓存问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   969 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 19:47 · PVG 03:47 · LAX 12:47 · JFK 15:47
    ♥ Do have faith in what you're doing.