SD Get Domain Info REST API - dogtagpki/pki GitHub Wiki

Request

  • Path: /ca/rest/securityDomain/domainInfo

  • Method: GET

  • Authentication: Not Required

Response

$ curl \
    -k \
    -s \
    https://localhost.localdomain:8443/ca/rest/securityDomain/domainInfo | python -m json.tool
{
    "subsystemArray": [
        {
            "hosts": {
                "CA fedora 8443": {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            },
            "hostArray": [
                {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            ],
            "id": "CA"
        }
    ],
    "id": "EXAMPLE",
    "subsystems": {
        "CA": {
            "hosts": {
                "CA fedora 8443": {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            },
            "hostArray": [
                {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            ],
            "id": "CA"
        }
    }
}
⚠️ **GitHub.com Fallback** ⚠️