The usual reason for getting an error like this is because the remote VANTIQ server’s certificate or host name is not trusted by the VANTIQ CLI. Here are a couple of reasons that this might happen:
- The remote server did not use a well established certificate authority (CA) for its certificate.
- The CLI is using an old version of Java that contains an old “cacerts” file that does not contain the CA used by the remote server.
The two ways to fix the above problems are:
- Install the latest version of Java 1.8. For example, I am running 1.8.0_251
- Use the “-trust” setting for the CLI: Force SSL utility connection to trust remote server certificate and host name.
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
I an just trying to run the “version” command in the VANTIQ CLI and I get the following error:
vantiq -b https://dev.vantiq.com -t aJlkt5W8Uqmob8jhyt4WmgNOA3YI8juy65YT45Bwd0w= version
Scriptconfig: failed opening Vantiq session to https://dev.vantiq.com for aJlkt5W8Uqmob8jhyt4WmgNOA3YI8juy65YT45Bwd0w=: Request failed due to exception: javax.net.ssl.SSLHandshakeException: Failed to create SSL connection