Orient DB是否支持TLS 1.2?如果是,该如何配置?

时间:2019-07-15 20:37:34

标签: orientdb tls1.2

我们正在开发一个访问OrientDB数据库的SpringBoot应用程序。 客户要求我们使用TLS1.2进行通信。

https://orientdb.com/docs/last/Using-SSL-with-OrientDB.html 上面的链接提供了有关如何处理TLS的指示,但未指定TLS 1.2。 任何人都可以确认是否支持TLS1.2并提供如何配置的详细信息吗?

我们正在使用Orient DB社区2.2.19版。基于Orient DB的源代码,https://github.com/orientechnologies/orientdb/blob/develop/server/src/main/java/com/orientechnologies/orient/server/network/OServerSSLSocketFactory.java

protected SSLContext getSSLContext() {

    try {
      SSLContext context = SSLContext.getInstance("TLS");

      KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());

OServerSSLSocketFactory类使用参数“ TLS”初始化套接字。但是根据Oracle documentation, 仅指定“ TLS”,我们就无法确定该软件真正使用了哪个版本的TLS。

0 个答案:

没有答案
相关问题