10.5. 部署 ACME Responder
配置 ACME 响应器后,使用以下命令部署它:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow pki-server acme-deploy
$ pki-server acme-deploy
这会在
/etc/pki/pki-tomcat/Catalina/localhost/acme.xml
中创建部署描述符。PKI 服务器在几秒钟后自动启动 ACME Responder,您不需要重新启动服务器。
要验证 ACME Responder 是否正在运行,请使用以下命令:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow curl -s -k https://$HOSTNAME:8443/acme/directory | python -m json.tool
$ curl -s -k https://$HOSTNAME:8443/acme/directory | python -m json.tool { "meta": { "caaIdentities": [ "example.com" ], "externalAccountRequired": false, "termsOfService": "https://example.com/acme/tos.pdf", "website": "https://www.example.com" }, "newAccount": "https://<hostname>:8443/acme/new-account", "newNonce": "https://<hostname>:8443/acme/new-nonce", "newOrder": "https://<hostname>:8443/acme/new-order", "revokeCert": "https://<hostname>:8443/acme/revoke-cert" }
如需更多信息,请参阅 pki-server-acme
手册页。