- URL:
- https://<root>/machines/<machine>/sslcertificates/<certificate>/importSignedCertificate
- Methods:
POST- Version Introduced:
- 12.0
Description
The import operation imports a certificate authority (CA)-signed SSL certificate into the keystore.
Request parameters
| Parameter | Description |
|---|---|
| The multi-part POST parameter containing the signed certificate file. |
(Required) | The response format. The default response format is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the import operation:
POST /<context>/admin/machines/ORGANIZATION.EXAMPLE.COM/sslcertificates/selfsignedcertificate/importSignedCertificate HTTP/1.1
Host: organization.example.com
Content-Type: multipart/form-data; boundary=----boundary
------boundary
Content-Disposition: form-data; name="caSignedCertificate"; filename=""
Content-Type: application/octet-stream
signedCertificate.pfx
------boundary
Content-Disposition: form-data; name="f"
pjson
------boundary
Content-Disposition: form-data; name="csrfPreventToken"
<token>
------boundary--JSON Response example
{"status": "success"}