Product Documentation

ssl_ca

Oct 20, 2015

SSL CA store list.

Properties

Name Data Type Read-Only? Description
certificatedetails
<String>
Yes

Certificate details text providing Version,Serial Number,Signature Algorithm,Issuer etc

certpem
<String>
No

Cert input in pem format. This is write only parameter. To fetch certicate pem text or other details, see certinfo parameter.

name
<String>
No

CA Store Name

certinfo
<[Object,...]>
Yes
Certificate pem text and expiry info for each certificate in the input bundle
certinfo.certexpirydate
<String>
Yes

Certificate expiry date.

certinfo.certpem
<String>
No

Certificate Pem.

certinfo.certexpired
<Boolean>
Yes

Certificate expiry status.

Possible values = [true, false]

certcount
<Integer>
Yes

Certificate Count.

Operations

Note

Mandatory parameters are marked in red and placeholder content is marked in <green>.

ADD

Use this operation to add a SSL CA store

HTTP Method: POST

URL: https://<cb_ip_address>/cb/nitro/v1/config/ssl_ca

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.ssl_ca+json

Request Payload: JSON

{"ssl_ca":{
"certpem": <string_value>,
"name": <string_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.ssl_ca+json

Response Payload: JSON

{"ssl_ca":{
"certificatedetails": <string_value>,
"certpem": <string_value>,
"name": <string_value>,
"certinfo": [{
"certexpirydate": <string_value>,
"certpem": <string_value>,
"certexpired": <boolean_value>
}, ...],
"certcount": <integer_value>
}}

DELETE

Use this operation to remove a SSL CA store

HTTP Method: DELETE

URL: https://<cb_ip_address>/cb/nitro/v1/config/ssl_ca/<name>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>

Response Payload: EMPTY

GET (ALL)

Use this operation to get SSL CA store configuration details

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/ssl_ca

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.ssl_ca_list+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.ssl_ca_list+json

Response Payload: JSON

{"ssl_ca": [{
"certificatedetails": <string_value>,
"certpem": <string_value>,
"name": <string_value>,
"certinfo": [{
"certexpirydate": <string_value>,
"certpem": <string_value>,
"certexpired": <boolean_value>
}, ...],
"certcount": <integer_value>
}, ...]}

GET

Use this operation to get SSL CA store configuration details

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/ssl_ca/<name>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.ssl_ca+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.ssl_ca+json

Response Payload: JSON

{"ssl_ca":{
"certificatedetails": <string_value>,
"certpem": <string_value>,
"name": <string_value>,
"certinfo": [{
"certexpirydate": <string_value>,
"certpem": <string_value>,
"certexpired": <boolean_value>
}, ...],
"certcount": <integer_value>
}}

MODIFY

Use this operation to modify a SSL CA store

HTTP Method: PUT

URL: https://<cb_ip_address>/cb/nitro/v1/config/ssl_ca/<name>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.ssl_ca+json

Request Payload: JSON

{"ssl_ca":{
"certpem": <string_value>,
"name": <string_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.ssl_ca+json

Response Payload: JSON

{"ssl_ca":{
"certificatedetails": <string_value>,
"certpem": <string_value>,
"name": <string_value>,
"certinfo": [{
"certexpirydate": <string_value>,
"certpem": <string_value>,
"certexpired": <boolean_value>
}, ...],
"certcount": <integer_value>
}}