简体   繁体   English

Java 1.7 不支持密码套件

[英]Cipher suite not supported by Java 1.7

One of the external service which we use require one of the below (GCM) cipher suites along with TLSv1.2 or above.我们使用的一项外部服务需要以下 (GCM) 密码套件之一以及 TLSv1.2 或更高版本。 I was able to enable TLSv1.2 but the ciphers (listed below) are not supported by Java 1.7.我能够启用 TLSv1.2,但 Java 1.7 不支持密码(如下所列)。 I tried adding the current JCE7 policy as well.我也尝试添加当前的 JCE7 策略。 We cannot upgrade to Java 1.8 for the moment.我们暂时无法升级到 Java 1.8。 Any support on how to deal with this issue?有关如何处理此问题的任何支持?

ECDHE-ECDSA-AES128-GCM-SHA256
ECDHE-RSA-AES128-GCM-SHA256
ECDHE-ECDSA-AES256-GCM-SHA384
ECDHE-RSA-AES256-GCM-SHA384
DHE-RSA-AES128-GCM-SHA256
DHE-RSA-AES256-GCM-SHA384

You can try to use additional Security Providers to add the missing ciphers.您可以尝试使用其他安全提供程序来添加缺少的密码。 BouncyCastle for example runs on Java 1.7 and comes with the ciphers you mentioned.例如,BouncyCastle 在 Java 1.7 上运行,并带有您提到的密码。 There is a question with an answer concerning that here on StackOverflow , so you might try that out. 在 StackOverflow 上有一个关于问题的答案,因此您可以尝试一下。

Priorities should be changed in order to get the migration to Java 8 (better Java 11) done as soon as possible.应该更改优先级,以便尽快完成向 Java 8(更好的 Java 11)的迁移。 Java 7 is OOL (out of line) for quite some time now and Java 8 still is but won't be for much longer. Java 7 是 OOL(不合时宜)已经有一段时间了,Java 8 仍然是,但不会持续太久。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM