Sun GlassFish Message Queue 4.4 Administration Guide

ProcedureInstalling a Root Certificate in the Trust Store

  1. Import the root certificate.

    Execute the command

       JRE_HOME/bin/keytool  -import  -trustcacerts
                             -alias certAlias  -file certFile
                             -keystore trustStoreFile

    where certFile is the file containing the root certificate, certAlias is the alias representing the certificate, and trustStoreFile is the file containing your trust store.

  2. Confirm that you trust the certificate.

    Answer YES to the question Trust this certificate?

  3. Identify the trust store to the client application.

    In the command that launches the client application, use the -D option to specify the following properties: