ACME Get Directory REST API - dogtagpki/pki GitHub Wiki

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
    }
}
⚠️ **GitHub.com Fallback** ⚠️