Since I don't know what's in your keystore, or how it was generated, I
don't know how much help I can be.
You probably need -alias something on the command line, and make sure a
cert by the name something exists in your keystore. You can use
keytool -list ... to examine the contents.
Adam
Thanks a lot.
I think I need the ‘ –alias’ option.
From: Adam Holmberg [mailto:adam.holmb...@datastax.com]
Sent: 2015年2月4日 23:17
To: user@cassandra.apache.org
Subject: Re: FW: How to use cqlsh to access Cassandra DB if the
client_encryption_options is enabled
Since I don't know what's in
Hi, Holmberg,
I tried your suggestion and run the following command:
keytool –exportcert –keystore path-to-my-keystore-file –storepass
my-keystore-password –storetype JKS –file path-to-outptfile and
I got following error:
keytool error: java.lang.Exception: Alias mykey does not exist
Do you
Thanks a lot ;)
I’ll try your suggestions.
From: Adam Holmberg [mailto:adam.holmb...@datastax.com]
Sent: 2015年1月31日 1:12
To: user@cassandra.apache.org
Subject: Re: FW: How to use cqlsh to access Cassandra DB if the
client_encryption_options is enabled
Assuming the truststore you are
Assuming the truststore you are referencing is the same one the server is
using, it's probably in the wrong format. You will need to export the cert
into a PEM format for use in the (Python) cqlsh client. If exporting from
the java keystore format, use
keytool -exportcert source keystore, pass,