Generates server private keys and certificate requests.
smgenkeycr { server_name | -f list_file} -o organization -c country_code -d out_dir [ -k 512]
The smgenkeycr command generates a private key and a certificate request for the Web-based System Manager servers. The private keys and certificate requests are generated either for each server in the input server list file or for the server whose name is specified.
You can use Web-based System Manager command to access the graphical interface.
Item | Description |
---|---|
server_name | The full TCP/IP name of the server. If the name specified is S, a private key ring file S.privkr will be generated in the output directory. |
-f list_file | The full path name of a file with the list of server machine names (one line with full TCP/IP name per server). For each server S in the list, a private key ring file S.privkr will be generated in the output directory. |
-o organization | Organization name (required for the server certificate). |
-c country_code | Two-letter ISO country code (required for the server certificate). |
-d out_dir | The output directory for the server private key ring files. |
-k 512 | This option does not exist in the exportable version. The server private key length will be 512. The default in the US version is 1024, in the exportable - 512. |
smgenprivkr S101.IBM.COM -o IBM -c US -d /usr/websm/security/tmp
smgenprivkr -f /usr/websm/security/tmp/server.list -o IBM -c US -d /usr/websm/security/tmp