Hitachi

JP1 Version 12 JP1/Automatic Operation Configuration Guide 


3.2.8 Security settings for communication with the LDAP directory server

Security settings are required when communicating using startTLS as the protocol for connecting to the LDAP directory server. You must use the hcmds64keytool command (for Windows) or the keytool command (for Linux) to import the SSL server certificate into the common component truststore.

Tip

You do not need to perform this procedure if you do not use startTLS as the protocol for connecting to the LDAP directory server.

Before you begin

Procedure to import SSL server certificate to truststore of Common Component

You can import an SSL server certificate into the truststore of the Common Component by executing a command. To import an SSL server certificate into the truststore of the Common Component:

  1. Execute the following command:

    In Windows:

    Common-Component-installation-folder\bin\hcmds64keytool -import -alias alias-name -file SSL-server-certificate-path -keystore truststore-file-path -storepass truststore-accesspassword

    In Linux 6, Linux 7, SUSE Linux 12:

    Common-Component-installation-directory/uCPSB/jdk/bin/keytool -import -alias alias-name -file SSL-server-certificate-path -keystore truststore-file-path -storepass truststore-accesspassword

    In Linux 8:

    Common-Component-installation-directory/uCPSB11/jdk/bin/keytool -import -alias alias-name -file SSL-server-certificate-path -keystore truststore-file-path -storepass truststore-accesspassword -storetype JKS

    Important

    Note the following points when you specify alias-name, truststore-file-path, and truststore-accesspassword by using the hcmds64keytool or keytool command:

    • For alias-name, specify the name used to identify the certificate within the truststore. If there are multiple SSL server certificates, specify an alias that is not already in use in the truststore.

    • The following symbols cannot be used in truststore-file-path:

      Colons (:), commas (,), semicolons (;), asterisks (*), question marks (?), double quotation marks ("), left and right angle brackets (< and>), vertical bars (|), and hyphens (-)

    • Specify truststore-file-path as a character string of 255 bytes or fewer.

    • Double quotation marks (") cannot be used in alias-name or truststore-access-password.

  2. Restart the JP1/AO server.

Procedure to check SSL server certificate of truststore of Common Component

You can see the SSL server certificate imported into the common component truststore with the following command:
In Windows:

Common-Component-installation-folder\bin\hcmds64keytool -list -v -keystore truststore-file-path -storepass truststore-accesspassword

In Linux 6, Linux 7, SUSE Linux 12:

Common-Component-installation-directory/uCPSB/jdk/bin/keytool -list -v -keystore truststore-file-path -storepass truststore-accesspassword

In Linux 8:

Common-Component-installation-directory/uCPSB11/jdk/bin/keytool -list -v -keystore truststore-file-path -storepass truststore-accesspassword

Procedure to delete SSL server certificate imported into truststore of Common Component

You can delete an SSL server certificate imported into the truststore of the Common Component by executing a command. To delete an SSL server certificate imported into the truststore of the Common Component:

  1. Execute the following command:

    In Windows:

    Common-Component-installation-folder\bin\hcmds64keytool -delete -alias alias-name -keystore truststore-file-path -storepass truststore-accesspassword

    In Linux 6, Linux 7, SUSE Linux 12

    Common-Component-installation-directory/uCPSB/jdk/bin/keytool -delete -alias alias-name -keystore truststore-file-path -storepass truststore-accesspassword

    In Linux 8:

    Common-Component-installation-directory/uCPSB11/jdk/bin/keytool -delete -alias alias-name -keystore truststore-file-path -storepass truststore-accesspassword

  2. Restart the JP1/AO server.