Importing a Client Certificate

Function

This operation imports the client certificate to the certificate library for certificate authentication during data transmission.

Format

Linux: import_cert

Parameters

None

Severity

The command is run by the OMUser account.

Usage Guidelines

  1. Use PuTTY to log in to the application server where the eReplication Server is installed as user DRManager.
  2. Run su - OMUser, and input the password of the OMUser account to switch to the OMUser account.
  3. Run the TMOUT=0 command to prevent PuTTY from exiting due to timeout.
  4. Run the om_manager command to enter the O&M mode.
    1. Before performing the following steps, ensure that the permission on the /home/DRManager directory is 750, the permission on the certificate file is 640, and the group to which the backup file belongs is LEGO.
  5. Run the import_cert command to import the certificate.
  6. The command output is as follows:
    Please input the cert alias:

    Enter the alias of the client certificate in the certificate store and press Enter.

  7. The command output is as follows:
    Please input the cert file path:

    Enter the address of the client certificate and press Enter.

  8. The certificate is successfully imported if the following information is displayed.
    Import cert success.

Example

##import_cert
Please input the cert alias: thirdpart-cert-alias
Please input the cert file path:/tmp/server.crt
Import cert success.
##

Copyright © Huawei Technologies Co., Ltd.