Anthony Lucia
asked on
Java, Linux,: IN this context does .keystore refer to a file or a directory
When starting the client's VM, specify the following system properties:
javax.net.ssl.keyStore=/path/to/client.ks
javax.net.ssl.keyStorePassword=password
javax.net.ssl.trustStore=/path/to/client.ts
Icon
In Linux, do not use absolute path to keystore. By default, keytool uses ~/.keystore, but in some setups passing -Djavax.net.ssl.keyStore=/home/account/.keystore to Java VM does not work. This is not ActiveMQ specific but good to keep in mind anyway.
The documentation suggests refering to the following
~/.keystore
So in this context, does .keystore refer to a directory (in which case I would put my client.ks in:
~/.keystore/client.ks
Or does it refer to the .keystore itself as being the new name of the client.ks
A keystore is a file. Keys are imported (with keytool etc) into that file
ASKER
I understand that the keystore itself is a file. However, I was not clear in my post
What I do not understand is if the documentation is referring that the actual name of the keystore is:
or if .keystore is just a subdirectory within the home underneath which it places the actual keystore, as in:
Since broker.ks is used by the documentation to specify the name of the keystore.
What I do not understand is if the documentation is referring that the actual name of the keystore is:
~/.keystore
or if .keystore is just a subdirectory within the home underneath which it places the actual keystore, as in:
~/.keystore/broker.ks
Since broker.ks is used by the documentation to specify the name of the keystore.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:)