Configuring Java CAPS for SSL Support

Obtaining a Signed Certificate

You must obtain either a digitally signed certificate from a certificate authority or a self-signed certificate from a local keystore.

ProcedureTo Obtain a Digitally Signed Certificate from a Certificate Authority

  1. Enter the following command to generate a Certificate Signing Request (CSR):

    keytool -certreq -alias CAPS -keyalg RSA -file csr_filename -keystore keystore_filename

  2. Send the CSR for signing.

  3. Store the signed certificate in a file.

    Note –

    If you want to use a keystore, it is recommended to use the sbyn.keystore file in the JavaCAPS-install-dir/repository/repository/server directory.

ProcedureTo Obtain a Self-Signed Certificate from a Local Keystore

  1. Enter the following command to generate a self-signed certificate:

    keytool -export -alias CAPS -keystore keystore_filename -rfc -file self_signed_cert_filename