- URL:https://<certificate-url>/importSignedCertificate(POST only)
- Required Capability:Default administrator role | Security and Infrastructure
- Version Introduced:10.1
Description
This operation imports a certificate authority (CA)-signed SSL certificate into the keystore.
Request parameters
Parameter | Description |
---|---|
caSignedCertificate | The multi-part POST parameter containing the signed certificate file. |
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for importSignedCertificate:
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"}