The POST /environments/{environmentId}/customDomains/{customDomainId} operation imports the SSL certificate used by the custom domain resource. The request is valid when the status property value is set to SSL_CERTIFICATE_REQUIRED or ACTIVE. This operation uses the application/vnd.pingidentity.certificate.import+json custom media type as the content type in the request header.

If any of the certificates and keys are invalid, the response returns an INVALID_VALUE error. If the request is successful, the response returns a 200 OK message.