15.2. 测试 CMC 吊销
通过执行以下操作来测试 CMC 吊销是否正常工作:
- 为现有证书创建 CMC 撤销请求。例如,如果包含代理证书的目录为
~jsmith/.mozilla/firefox/
,则证书的 nickname 是 CertificateManagerAgentCert,并且证书的序列号为 22,命令如下:CMCRevoke -d"~jsmith/.mozilla/firefox/" -n"Certificate Manager Agent Cert" -i"cn=agentAuthMgr" -s22 -m0 -c"test comment"
CMCRevoke -d"~jsmith/.mozilla/firefox/" -n"Certificate Manager Agent Cert" -i"cn=agentAuthMgr" -s22 -m0 -c"test comment"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 打开 CA 的端到端页面。
- 选择 Revocation 选项卡。
- 在菜单中选择 CMC Revoke 链接。
- 将 CMCRevoke 操作的输出粘贴到文本框中。从粘贴内容中删除 -----BEGIN NEW CERTIFICATE REQUEST----- 和 ----END NEW CERTIFICATE REQUEST----- 行。
- 点。
- 结果页面显示证书 22 已撤销。