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

OceanStor 9000 V300R006C00 Security Maintenance 07

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).
Changing the DeviceManager Security Certificate Password

Changing the DeviceManager Security Certificate Password

You can change the DeviceManagersecurity certificate password based on needs.

Prerequisites

You have prepared the new security certificate password.

Context

DeviceManagerThe default security certificate password is Admin@storage. To ensure the access security, change the default password after the system deployment, keep the new password properly, and change the password regularly.

Procedure

  1. Start PUTTY and enter the management IP address to log in as account omuser to the cluster. The default password is Omuser@storage.

    Run the su - root command to switch to user root. The default password is Root@storage.

  2. Run the following script to change the security certificate password.

    cd /opt/deviceManager/bin

    sh changePrivateKeyPassword.sh

    During the script execution, a message prompting you to replace the password file of the node will be displayed. Enter y to make the new password effective.
    You are about to replace the private key encryption passphrase.
    After they are replaced, DeviceManager must be restarted to take effect.
    Are you sure that you want to replace the files? [y/n]
    y
    Old password:
    Password:
    Reenter password:
    During the script execution, enter y when the system notifies you to restart the DeviceManager of the node.
    You need to restart DeviceManager to take effect.
    Do you want to restart? [y/n]:
    y

    The change on the password will be synchronized to all nodes in the cluster.

  3. On the other nodes, run the sh /opt/deviceManager/bin/restart.sh command as root to restart the DeviceManager.

Example

NOTE:

The following is only an example. Replace the related parameters based on the field situation.

Linux-70:/opt/deviceManager/bin # sh changePrivateKeyPassword.sh 
You are about to replace the private key encryption passphrase.
After they are replaced, DeviceManager must be restarted to take effect.
Are you sure that you want to replace the files? [y/n]
y
Old password:
Password:
Reenter password:
You need to restart DeviceManager to take effect.
Do you want to restart? [y/n]:
y
Starting Device Manager...please wait.
Succeeded in starting Device Manager.
The certificate, private key, and password files of DeviceManager are about to be synchronized.
Synchronizing key_en.pem to 192.168.100.71...
Synchronizing cert_en.pem to 192.168.100.71...
Synchronizing pkt_en.dat to 192.168.100.71...
Synchronizing key_en.pem to 192.168.100.72...
Synchronizing cert_en.pem to 192.168.100.72...
Synchronizing pkt_en.dat to 192.168.100.72...
Synchronizing key_en.pem to 192.168.100.73...
Synchronizing cert_en.pem to 192.168.100.73...
Synchronizing pkt_en.dat to 192.168.100.73...
DeviceManager is successfully restarted on this node. You must manually restart DeviceManager on other nodes.
Translation
Download
Updated: 2019-04-28

Document ID: EDOC1000122530

Views: 12596

Downloads: 40

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