Jetty IncludeCipherSuites enables only TLS 1.2

穿精又带淫゛_ 提交于 2019-12-12 03:37:15

问题


In my jetty configuration file I am using ExcludeCipherSuites tag to exclude some protocols and everything works fine and my jetty server supports all TLS versions (1.0, 1.1, 1.2).

However when instead of excluding bad ciphers, I use IncludeCipherSuites to include only supported ciphers, my jetty server starts supporting only TLS 1.2. Other TLS versions (1.0 and 1.1) are becoming not supported.

I even tried to whitelist all possible ciphers using IncludeCipherSuites like below:

<Set name="IncludeCipherSuites">
    <Array type="java.lang.String">
        <Item>.*</Item>
    </Array>
</Set>

But again the same result - TLS 1.2 is supported, TLS 1.0 and 1.1 is not supported.

I found a similar question but it didn't have proper answer: Configuring SSL cipher suites for Jetty

Can someone help me understand what's wrong with IncludeCipherSuites option? or What am I doing wrong?

Thanks


回答1:


Exclude wins over Include

Just adding them to includes does nothing if they are already excluded (which they are).

Follow the instructions on the prior answer and redeclare the excludes (like the suggestions and documentation do)



来源:https://stackoverflow.com/questions/39540529/jetty-includeciphersuites-enables-only-tls-1-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!