HostingSslCertificateInstallRequest
SSL certificate to install on the hosting; with no body, a wildcard Let's Encrypt certificate for the website and the mail of a main hosting, or for the website of a subdomain
Id of a purchased SSL certificate to install (GET /api/v3/ssl-certificates/{ssl_certificate_id}): an active certificate of the owner of the hosting, a wildcard one or one with SAN to install it also on the mail servers. Omit it, or send null, to install a Let's Encrypt certificate, issued if the hosting has none: when the DNS of the domain are not on our nameservers, the issue requires the CNAME record that delegates the DNS validation (GET /api/v3/hostings/{hosting_id}/ssl-certificates/can-install)
Where to install the certificate: web for the website, mail for the mail servers, all for both. When omitted, all on a main hosting and web on a subdomain, where only web is allowed. mail and all require a Let's Encrypt cn_type WILDCARD
Possible values: [all, web, mail]
Type of the certificate: NORMAL, or WILDCARD for a wildcard certificate. Without ssl_certificate_id it chooses the Let's Encrypt certificate to install. Omit this field if you're sending ssl_certificate_id.
Possible values: [NORMAL, WILDCARD]
WILDCARD{
"ssl_certificate_id": 0,
"destination_type": "all",
"cn_type": "WILDCARD"
}