Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /settings/security/certificate-server

Get /settings/security/certificate-server

Description

Returns all server and/or client CA certificates uploaded to this server.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Request Body Parameters

Name

Required

Type

filter Optional Array<String>

type

Optional

String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/settings/security/certificate-server

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"possibleCerts": [

{

"name": "string",

"pathLabel": "string",

"requiresRestart": true,

"trustedCert": true,

"pendingCertDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"pendingCertPrivateKey": "string",

"privateKey": "string",

"alias": "string",

"issuedTo": "string",

"issuedBy": "string",

"expiration": 0,

"status": "string",

"certificateDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"certificateChain": [

{}

]

}

],

"certs": [

{

"name": "string",

"pathLabel": "string",

"requiresRestart": true,

"trustedCert": true,

"pendingCertDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"pendingCertPrivateKey": "string",

"privateKey": "string",

"alias": "string",

"issuedTo": "string",

"issuedBy": "string",

"expiration": 0,

"status": "string",

"certificateDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"certificateChain": [

{}

]

}

]

}

Get /settings/security/certificate-server

Get /settings/security/certificate-server

Description

Returns all server and/or client CA certificates uploaded to this server.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Request Body Parameters

Name

Required

Type

filter Optional Array<String>

type

Optional

String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/settings/security/certificate-server

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"possibleCerts": [

{

"name": "string",

"pathLabel": "string",

"requiresRestart": true,

"trustedCert": true,

"pendingCertDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"pendingCertPrivateKey": "string",

"privateKey": "string",

"alias": "string",

"issuedTo": "string",

"issuedBy": "string",

"expiration": 0,

"status": "string",

"certificateDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"certificateChain": [

{}

]

}

],

"certs": [

{

"name": "string",

"pathLabel": "string",

"requiresRestart": true,

"trustedCert": true,

"pendingCertDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"pendingCertPrivateKey": "string",

"privateKey": "string",

"alias": "string",

"issuedTo": "string",

"issuedBy": "string",

"expiration": 0,

"status": "string",

"certificateDetails": {

"additionalProp1": "string",

"additionalProp2": "string",

"additionalProp3": "string"

},

"certificateChain": [

{}

]

}

]

}