HP Systems Insight Manager 7.2 Command Line Interface Guide

Checks for existence of Keystore.
-n
Creates a new server certificate (2,048-bit).
-s 1024|2048(recommended)|4096
This must be used along with -n option. It is used to specify the user-defined key
size for the SSL server certificate. The applicable key sizes are 1,024, 2,048 and
4,096 bits. 1,024-bit key size is considered as obsolete, and it is available only
to handle backward-compatibility cases.
-x key [ =value ]
The key is the name of the password, and the value is the new value of the password
in text format.
Return values
MeaningValue
Successful completion.0
An error occurred during operation.>0
Examples
Example 1
To list all the passwords stored by HP SIM, enter mxpassword -l.
Example 2
To change the current SSH password to scoobydoo2, enter mxpassword -m -x
MxSshKeyPassword=scoobydoo2.
Example 3
To change the current database password to rocketboy2, enter mxpassword -m -x
MxDBUserPassword=rocketboy2.
Example 4
To remove the current SSH password, enter mxpassword -r -x MxSshKeyPassword.
Example 5
To remove the current database password, enter mxpassword -r -x MxDBUserPassword.
Example 6
To add, modify or remove passwords using a graphical user interface, enter mxpassword -g.
Example 7
To add the passwords myPw1 and myPw2 with the values myPw1Value and myPw2Value, enter
mxpassword -a -x myPw1=myPw1Value -x myPw2=myPw2Value.
Example 8
To check if the HP SIM keystore exists, enter mxpassword -c. A typical result is Keystore
exists.
mxpassword 89