- URL:
- https://<root>/machines/<machine>/sslcertificates/<certificate>/importSignedCertificate
- Methods:
POST
- Required Capability:
- Access allowed with the "Security and Infrastructure" privilege
- Version Introduced:
- 10.1
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. |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the import
operation:
POST /webadaptor/admin/machines/MACHINE.DOMAIN.COM/sslcertificates/selfsignedcertificate/importSignedCertificate HTTP/1.1
Host: machine.domain.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"
KeBsNi5NPnIunxvRnhJxFOkg8P5zNTHGCpkIdut047Zop60HVpf108hkC39d2jFrRICinakAYluVjzDucv97-XI-SZ4rXthAtvAodAU0PrzhWwnxe0tGrjIXNUGA5M-TnnA-9xjifiHn3BRhZf3v2W9b3ElprD1gsMwkLSnuCi_sLq1F0uyqEhb6-6qhz0B7,https://machine.domain.com/webadaptor/admin
------boundary--
JSON Response example
{"status": "success"}