How to enable enhanced security with Tinkerpop Gremlin driver

57 views
Skip to first unread message

fame...@gmail.com

unread,
Jul 6, 2021, 11:00:48 PM7/6/21
to Gremlin-users
We have a Java application connecting to Neptune using Tinkerpop Gremlin driver version 3.4.10 with Web Socket over SSL. The server version supports both TLS 1.1 & 1.2.

  1. How can I explicitly set wss connection to use TLS 1.2 ?  
  2. What is the alternate method to set root certificate so we can replace the deprecated SSL method keyCertChainFile ?

Stephen Mallette

unread,
Jul 7, 2021, 7:16:23 AM7/7/21
to gremli...@googlegroups.com
> How can I explicitly set wss connection to use TLS 1.2 ?  

use the connectionPool.sslEnabledProtocols on the driver to establish the protocols you want - if you use a yaml file to configure your driver then something like:

connectionPool: {
  enableSsl: true,
  sslEnabledProtocols: [TLSv1.2] }

> What is the alternate method to set root certificate so we can replace the deprecated SSL method keyCertChainFile ?

You should prefer the use of keyStore

--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/8024eb1d-9eed-4981-a929-a03d75021fbdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages