msgcert 允许您生成证书请求、将证书添加到证书数据库、列出数据库中的证书,等等。要获取详细信息,请在命令行中输入以下内容:
msg-svr-base/sbin/msgcert --help
如下所示。
# ./msgcert --help Usage: msgcert SUBCMD [GLOBAL_OPTS] [SUBCMD_OPTS] [SUBCMD_OPERANDS] Manages the Messaging Servers Certificate Database The accepted values for SUBCMD are: add-cert Adds a certificate to the certificate database add-selfsign-cert Creates and adds a selfsign certificate to the certificate database export-cert Exports a certificate and its keys from the database generate-certDB Creates Messaging Server Databases cert8.db key3.db secmod.db and sslPassword import-cert Adds a new certificate and its keys to the cert database import-selfsign-cert Adds a new selfsign certificate and its keys to the cert database list-certs Lists all certificates in the Certificate database remove-cert Removes a certificate from the database renew-cert Renews a certificate renew-selfsign-cert Renews a selfsign certificate request-cert Generates a certificate request show-cert Displays a certificate The accepted value for GLOBAL_OPTS is:-?, --help Displays SUBCMD help NOTE: You must stop all the TLS or SSL-enabled servers before making any changes to the Certificate Database. |
以上显示的每个子命令都执行一个特定的证书管理功能。有关这些子命令及其功能的详细信息,可以通过输入以下命令获得:
msgcert SUBCMD –help
本节剩余部分将介绍一些常见的证书管理过程。