c4tn
V2EX  ›  问与答

如何扫描 HTTPS 域名是否通过验证?

  •  
  •   c4tn · Mar 27, 2015 · 2005 views
    This topic created in 4153 days ago, the information mentioned may be changed or developed.
    能否在linux写个东西,扫描一批域名的https是否通过了验证

    www.baidu.com 已经验证身份

    www.taobao.com 未验证身份


    我用了一个testssl.sh貌似无法确认是否已经通过身份验证
    1 replies    2015-03-27 17:39:26 +08:00
    c4tn
        1
    c4tn  
    OP
       Mar 27, 2015
    [root@li3 sslyze]# python sslyze.py --regular --hsts www.taobao.com | grep "Hostname Validation:"
    Hostname Validation: FAILED - Certificate does NOT match www.taobao.com
    [root@li3 sslyze]# python sslyze.py --regular --hsts www.baidu.com| grep "Hostname Validation:"
    Hostname Validation: OK - Subject Alternative Name matches
    [root@li3 sslyze]# python sslyze.py --regular --hsts i0.tuanimg.com | grep "Hostname Validation:"
    Hostname Validation: OK - Subject Alternative Name matches

    简单用这种方式弄了一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2629 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:02 · PVG 19:02 · LAX 04:02 · JFK 07:02
    ♥ Do have faith in what you're doing.