Sample Request/Response

Use Case

Create an AppViewX CA certificate with common name gyttest.appviewx.com.

Request URL

http://appviewxapi.com/ avxapi/certificate/create?gwkey=f000ca01&gwsource=external

Request Payload

{

"csrGenerationSource": "appviewx",

"certificateGroup": {

"name": "Default"

},

"caConnectorInfo": {

"certificateAuthority": "AppViewX",

"caSettingName": "AppViewX CA",

"certificateType": "",

"csrParameters": {

"commonName": "gyttest.appviewx.com",

"encryptedChallengePassword": "",

"hashFunction": "SHA160",

"keyType": "RSA",

"bitLength": "4096",

"certificateCategories": [

"Server",

"Client"

],

"enhancedSANTypes": {

"dNSNames": [

"gyt.appviewx.com"

]

}

},

"validityInDays": 365,

"vendorSpecificDetails": {}

}

}

Response

{

"response": {

"resourceId": "5c4ae31272a0d0030e375be5",

"requestId": "4132"

},

"message": "CA connector added and certificate submitted successfully.",

"appStatusCode": null,

"headers": null

}