Skip to content

PKI Get Info REST API

Endi S. Dewata edited this page Aug 21, 2021 · 1 revision

Overview

PKI Get Info operation will return information about the PKI server.

Request

  • Method: GET

  • Path: /pki/rest/info

  • Authentication: Not required

  • Content: None

  • Success code: 200

Examples

JSON
$ curl \
    -k \
    -s \
    -H "Accept: application/json" \
    https://localhost.localdomain:8443/pki/rest/info | python -m json.tool
{
    "Attributes": {
        "Attribute": []
    },
    "Name": "Dogtag Certificate System",
    "Version": "11.0.0"
}
XML
$ curl \
    -k \
    -s \
    -H "Accept: application/xml" \
    https://localhost.localdomain:8443/pki/rest/info | xmllint --format -
<Info>
  <Attributes/>
  <Name>Dogtag Certificate System</Name>
  <Version>11.0.0</Version>
</Info>

Sources

Clone this wiki locally