Import CA Signed Certificate

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 importSignedCertificate operation imports a certificate authority (CA)-signed SSL certificate into the keystore.

Request parameters

ParameterDescription

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

The following is a sample POST request for the importSignedCertificate operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.