I'm following Amazon's documentation at access-graph-gremlin-dotnet
and trying to run it on a local windows machine that is connected to Neptune with an SSH tunnel through an EC2 instance.
I've tested the SSH tunnel with gremlin console and it works fine.
Running the program on an EC2 instance works as well, but when running the program on a local windows machine I'm getting the following exception because the Neptune's certificate needs to be added to trusted certificates:
System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server --->
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner
exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is
invalid according to the validation procedure.
I'm searching for how to do so in Gremlin.Net 3.4.6 (preferable C#).
- Importing the certificate from #6 at access-graph-gremlin-console as a trusted root certificate didn't help either.