Retrieve wildcard certificate data, including its private key, for a domain.
Required permission
Account > Networking > Domains > Read Certificate Private Key
Path parameters
domain
string requiredName of the domain
Response body
- {object}Response object.
data
{object} requiredResult data.certificateChain
string requiredCertificate chain. May consist of one or more certificates.certificate
string requiredCertificate extracted from the certificate chain.issuerCertificate
string requiredIssuer certificate extracted from the certificate chain.privateKey
string requiredCertificate private key.
GET /v1/domains/{domain}/certificate
GET /v1/teams/{teamId}/domains/{domain}/certificate
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request GET \
"https://api.northflank.com/v1/domains/{domain}/certificate"Example response
200 OK
Details about the domain certificate.
JSON
{
"data": {
"certificateChain": "string",
"certificate": "string",
"issuerCertificate": "string",
"privateKey": "string"
}
}