-
Notifications
You must be signed in to change notification settings - Fork 139
Installing ACME Responder using pkispawn
This document describes the process to install an ACME responder on a PKI server that already has a CA subsystem using pkispawn
command.
In general pkispawn
provides a simpler way compared to pki-server acme
for installing ACME responder.
If there is a problem during installation, the entire process might need to be restarted.
This document assumes that the following DS service is available to use as ACME database and ACME realm:
-
URL:
ldap://ds.example.com:3389
-
Bind DN:
cn=Directory Manager
-
Bind password:
Secret.123
It also assumes that the following CA service is available to use as ACME issuer:
-
Username:
caadmin
-
Password:
Secret.123
To import the DS schema for ACME database:
$ ldapmodify \ -H ldap://ds.example.com:3389 \ -D "cn=Directory Manager" \ -w Secret.123 \ -f /usr/share/pki/acme/database/ds/schema.ldif
To create the DS indexes for ACME database:
$ ldapadd \ -H ldap://ds.example.com:3389 \ -D "cn=Directory Manager" \ -w Secret.123 \ -f /usr/share/pki/acme/database/ds/index.ldif
To create the DS subtrees for ACME database:
$ ldapadd \ -H ldap://ds.example.com:3389 \ -D "cn=Directory Manager" \ -w Secret.123 \ -f /usr/share/pki/acme/database/ds/create.ldif
To create the DS subtrees for ACME realm:
$ ldapadd \ -H ldap://ds.example.com:3389 \ -D "cn=Directory Manager" \ -w Secret.123 \ -f /usr/share/pki/acme/realm/ds/create.ldif
To create and deploy ACME responder in PKI server execute the following command:
$ pkispawn \ -f /usr/share/pki/server/examples/installation/acme.cfg \ -s ACME \ -D acme_database_url=ldap://ds.example.com:3389 \ -D acme_issuer_url=https://pki.example.com:8443 \ -D acme_realm_url=ldap://ds.example.com:3389
The configuration files will be available in /var/lib/pki/pki-tomcat/conf/acme
folder.
See also Configuring ACME Responder.
To verify that the ACME responder is running, execute the following command:
$ curl -s -k https://pki.example.com:8443/acme/directory | python -m json.tool { "meta": { "caaIdentities": [ "example.com" ], "externalAccountRequired": false, "termsOfService": "https://www.example.com/acme/tos.pdf", "website": "https://www.example.com" }, "newAccount": "https://pki.example.com:8443/acme/new-account", "newNonce": "https://pki.example.com:8443/acme/new-nonce", "newOrder": "https://pki.example.com:8443/acme/new-order", "revokeCert": "https://pki.example.com:8443/acme/revoke-cert" }
To undeploy and remove the ACME responder execute the following command:
$ pkidestroy -s ACME
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |