RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / 问题 / 768913
Accepted
Dmitry Maslennikov
Dmitry Maslennikov
Asked:2020-01-10 21:49:56 +0000 UTC2020-01-10 21:49:56 +0000 UTC 2020-01-10 21:49:56 +0000 UTC

SSL 证书的类型和制造商是否会影响连接速度?

  • 772

证书类型(DV、EV)和颁发者是否会影响连接速度?

特别令人感兴趣的是在握手过程中联系认证中心的那一刻。更昂贵的证书或具有扩展验证的证书是否优先于连接,或者它不会以任何方式影响速度?

ssl
  • 1 1 个回答
  • 10 Views

1 个回答

  • Voted
  1. Best Answer
    mega
    2020-01-11T05:30:26Z2020-01-11T05:30:26Z

    @mega 事实是没有这样的数据)我想知道是否有人已经做过类似的测试,性能结果是什么。OCSP Stapling 部分解决了这个问题,但在第一次调用时,仍然向证书颁发机构发出请求。

    由于没有此类数据,我可以向您保证,在现代操作系统上,证书类型不会显着影响客户端与服务器的连接速度。

    要出现这种效果,您至少必须在客户端或服务器端禁用 SSL 会话的缓存(加密提供者通常默认启用)。

    启用缓存后,在第一次握手后几个小时(在最新版本的 Windows 上为 10 个)或直到客户端/服务器进程完成,“短握手”在 2 个主机之间工作,其中不发送证书和密钥完全没有,因为 . 被使用master secret,由发起会话(第一个完全握手的会话)生成。

    The client sends a ClientHello using the Session ID of the session to
    be resumed. The server then checks its session cache for a match.  If
    a match is found, and the server is willing to re-establish the
    connection under the specified session state, it will send a
    ServerHello with the same Session ID value. At this point, both
    client and server must send change cipher spec messages and proceed
    directly to finished messages. Once the re-establishment is complete,
    the client and server may begin to exchange application layer data.
    

    因此,证书类型或大小对连接速度的影响只有在与您的服务器连接的地理位置非常多样化(许多唯一访问者)或您的服务器通过一个请求实现一些基本功能时才会显现出来:假设客户端有一个典型服务器列表(分布在网络上),它会以非常低的间隔选择性地轮询。


    有关会话缓存的详细信息可以在任何现代 TLS 协议的 rfc 中找到(例如 tlsv1.0 的 rfc2246#appendix-F.1.4)。

    有关不同 Windows 版本中客户端/服务器缓存设置的更多信息,请参阅 Microsoft 的文章如何配置安全套接字层服务器和客户端缓存元素。

    • 4

相关问题

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    是否可以在 C++ 中继承类 <---> 结构?

    • 2 个回答
  • Marko Smith

    这种神经网络架构适合文本分类吗?

    • 1 个回答
  • Marko Smith

    为什么分配的工作方式不同?

    • 3 个回答
  • Marko Smith

    控制台中的光标坐标

    • 1 个回答
  • Marko Smith

    如何在 C++ 中删除类的实例?

    • 4 个回答
  • Marko Smith

    点是否属于线段的问题

    • 2 个回答
  • Marko Smith

    json结构错误

    • 1 个回答
  • Marko Smith

    ServiceWorker 中的“获取”事件

    • 1 个回答
  • Marko Smith

    c ++控制台应用程序exe文件[重复]

    • 1 个回答
  • Marko Smith

    按多列从sql表中选择

    • 1 个回答
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Suvitruf - Andrei Apanasik 什么是空? 2020-08-21 01:48:09 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5