Function
This operation imports the client certificate to the certificate library for certificate authentication during data transmission.
Severity
The command is run by the OMUser account.
Usage Guidelines
- Use PuTTY to log in to the application server where the eReplication Server is installed as user DRManager.
- Run su - OMUser, and input the password of the OMUser account to switch to the OMUser account.
- Run the TMOUT=0 command to prevent PuTTY from exiting due to timeout.
- Run the om_manager command to enter the O&M mode.
- 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.
- Run the import_cert command to import the certificate.
- 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.
- The command output is as follows:
Please input the cert file path:
Enter the address of the client certificate and press Enter.
- 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.