No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionStorage 8.0.0 DSware Tool Command Reference 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Importing the SSL Certificate to the FSM Node

Importing the SSL Certificate to the FSM Node

Run the following command to import the certificate to the FSM node:

NOTE:

Before running the command, upload the target SSL certificate to the /home/dsware directory on the FSM node as user dsware.

./dswareTool.sh --op saveCertificate -certificateType OMA_SSL_SELF/OMA_SSL_ROOT/OMS_SSL_SELF/OMS_SSL_ROOT/FSA_SSL_SELF/FSA_SSL_ROOT/FSM_SSL_SELF/FSM_SSL_ROOT/TOMCAT_SSL_SELF/TOMCAT_SSL_ROOT/VBS_IAM_ROOT/VBS_API_GATEWAY_ROOT/HA_SSL_ROOT/HA_SSL_SELF -certFilePath path -privateKeyFilePath(optional) path

Parameter

Description

./dswareTool.sh

Specifies an executable program for the tool.

--op saveCertificate

Imports the certificate to the FSM node.

-certificateType type

Specifies the type of the certificate to be imported. The value can be OMA_SSL_SELF, OMA_SSL_ROOT, OMS_SSL_SELF, OMS_SSL_ROOT, FSA_SSL_SELF, FSA_SSL_ROOT, FSM_SSL_SELF, FSM_SSL_ROOT, TOMCAT_SSL_SELF, TOMCAT_SSL_ROOT, VBS_IAM_ROOT, VBS_API_GATEWAY_ROOT, HA_SSL_ROOT, or HA_SSL_SELF.

-certFilePath path

Specifies the directory containing the certificate to be imported.

-privateKeyFilePath(optional) path

Specifies the directory containing the corresponding private key files for the certificate. This parameter is mandatory if the certificateType value is set to OMA_SSL_SELF, OMS_SSL_SELF, OMS_SSL_ROOT, FSA_SSL_SELF, FSM_SSL_SELF, FSM_SSL_ROOT, TOMCAT_SSL_SELF, TOMCAT_SSL_ROOT, or HA_SSL_SELF.

An example is provided as follows:

dsware@FSM01:/opt/dsware/client/bin> sh dswareTool.sh --op saveCertificate -certificateType TOMCAT_SSL_ROOT -certFilePath /home/dsware/cert/trust.jks
This operation is high risk,please input y to continue:y
[Tue Dec 20 16:37:48 CST 2016] DswareTool operation start.
Enter User Name:admin
Enter Password :
Enter privateKey password:
Retype privateKey password:
Operation finish successfully. Result Code:0
[Tue Dec 20 16:37:56 CST 2016] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4864

Downloads: 3

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next