HostingSslCertificateCanInstallResponse
Successful response with one HostingSslCertificateCanInstall
Always 0 in a successful response
0Always null in a successful response
data objectrequired
Resource returned by the operation
Id of the hosting (GET /api/v3/hostings/{hosting_id})
Whether the installation can start now with POST /api/v3/hostings/{hosting_id}/ssl-certificates and the same fields
reason objectrequired
Why the installation cannot start now; null when it can. ALREADY_INSTALLED: a certificate is already installed on the destination, remove it first. CNAME_MISSING: the DNS of the domain are not on our nameservers and the CNAME record in dns_delegation is missing. LIMIT_REACHED: too many Let's Encrypt installations on the hosting in the last days. HOSTING_NOT_ACTIVE: the activation of the hosting has not been completed yet. MAIL_NOT_SUPPORTED: the mail server of the hosting does not accept certificates. OPERATION_RUNNING: another installation or operation is running on the hosting
- HostingSslCertificateCanInstallReason
- null
Why an SSL certificate cannot be installed on the hosting now (GET /api/v3/hostings/{hosting_id}/ssl-certificates/can-install)
Possible values: [ALREADY_INSTALLED, CNAME_MISSING, LIMIT_REACHED, HOSTING_NOT_ACTIVE, MAIL_NOT_SUPPORTED, OPERATION_RUNNING]
CNAME_MISSINGDescription of reason; null when the installation can start
dns_delegation objectrequired
CNAME record that delegates the validation of the Let's Encrypt certificate; null when installing a purchased certificate (ssl_certificate_id)
- HostingSslDnsDelegation
- null
Whether the DNS zone of the domain is on our nameservers: the installation creates the CNAME record by itself. When false the record must be created on the nameservers of the domain before the installation
Name of the CNAME record, in punycode
Target of the CNAME record; null when no delegation is required
Whether the public DNS resolvers return the CNAME record with target; null when the DNS zone is on our nameservers, where it is not checked, or when no delegation is required
Always null: only the paginated lists have a meta
null{
"error": 0,
"message": "string",
"data": {
"hosting_id": 0,
"can_install": true,
"reason": "CNAME_MISSING",
"message": "string",
"dns_delegation": {
"managed_dns": true,
"host": "string",
"target": "string",
"present": true
}
}
}