Reset Search
 

 

Article

KB44946 - How to bind a certificate with port using REST API

« Go Back

Information

 
Last Modified Date12/29/2021 10:27 PM
Synopsis
The article describes how to bind a certificate with Internal/External port using REST API.
Problem or Goal
Commands to bind a certificate with Internal/External port using REST API.
Cause
Solution
Request:
POST /api/v1/system/certificates/device-certificates HTTP/1.1
Host: 10.209.114.228
Authorization: Basic aWZuM2VmZVZTRU9YNVZkVVZ3eFpiYWdob3VCTndxZEkyaExubUcyVU5ibz06
Content-Type: application/json
{
"cert":"MIINzgIBAzCCDYoGCS....PASTE THE CERT HERE"
"password": <certifcicate_password>,
"internal-interfaces": { "internal-interface" : ["<Internal Port>", "vport1"] },
"external-interfaces": { "external-interface" : ["<External Port>"] },
"management-interface": true
}

Response:
HTTP/1.1 201 CREATED
Content-Length: 112
Content-Type: application/json
{
"result": {
"info": [
{
"message": "Operation successfully completed."
}
]
}
}
Related Links
https://help.ivanti.com/ps/legacy/PCS/9.1Rx/9.1R11/ps-pcs-pps-9.1r9.0-rest-api-solutions-guide.pdf
Attachment 1 
Created ByChetan JayprakashSoni

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255