Skip to content

ACME Get Directory REST API

Endi S. Dewata edited this page Jan 2, 2022 · 3 revisions

Overview

This operation returns the ACME directory as defined in RFC 8555 Section 7.1.1.

Request

  • URL: /acme/directory

  • Method: GET

  • Authentication: Not required

  • Authorization: Not required

Response

Success

  • Code: 200

  • Content:

{
    "meta": {
        "caaIdentities": [
            ...
        ],
        "externalAccountRequired": ...,
        "termsOfService": ...,
        "website": ...
    },
    "newAccount": ...,
    "newNonce": ...,
    "newOrder": ...,
    "revokeCert": ...
}

Unavailable

  • Code: 503

Examples

$ curl \
    -s \
    https://pki.demo.dogtagpki.org/acme/directory | python -m json.tool
{
    "newNonce": "https://pki.demo.dogtagpki.org/acme/new-nonce",
    "newAccount": "https://pki.demo.dogtagpki.org/acme/new-account",
    "newOrder": "https://pki.demo.dogtagpki.org/acme/new-order",
    "revokeCert": "https://pki.demo.dogtagpki.org/acme/revoke-cert",
    "meta": {
        "termsOfService": "https://github.com/dogtagpki/pki/wiki/ACME-Responder-Demo",
        "website": "https://www.dogtagpki.org",
        "caaIdentities": [
            "dogtagpki.org"
        ],
        "externalAccountRequired": false
    }
}
Clone this wiki locally