No cipher suites in common in Jetty 9 SSL Configuration

允我心安 提交于 2019-12-04 17:38:50

change this:

<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.6.v20151106</version>
<configuration>                       
    <jettyXml>src/main/resources/jetty.xml,src/main/resources/jetty-
        ssl.xml,src/main/resources/jetty-https.xml,src/main/resources/jetty-ssl-context.xml</jettyXml>
</configuration>

to this:

<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.6.v20151106</version>
<configuration>                       
    <jettyXml>src/main/resources/jetty.xml,src/main/resources/jetty-
        ssl.xml,src/main/resources/jetty-ssl-context.xml,src/main/resources/jetty-https.xml</jettyXml>
</configuration>

(Reverse the order of jetty-https.xml and jetty-ssl-context.xml).

You are creating ssl-connector in jetty-https with a default SslContextFactory (<Ref refid="sslContextFactory"/> is null), then go on creating a new SslContextFactory that you are configuring, but it is not used anywhere.

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