You are here: Home > API Reference > Platform > Certificate Provider > Add new certificateProvider

Add new certificateProvider

Required Permission: base.organization.certificateProvider.create

Add new certificateProvider

POST
https://api.applivery.io/v1/organizations/{organizationId}/certificate-providers

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^[a-fA-F0-9]{24}$

Body Params application/json
name string required
description string optional
config object required
type string required
scep
serverUrl string required
CAFingerprint string optional
retries integer optional
≥ 0 · ≤ 10
retryDelay integer optional
≥ 0 · ≤ 864000
challenge object required
type string required
none
url string required
username string required
password string required
numChallenges number required
≥ 10 · ≤ 10000
expirationPercentage number required
≥ 20 · ≤ 80
auth string optional
basic ntlm
value string required
profiles array [object] required
id string optional
Match pattern: ^[a-f\d]{24}$
name string required
≥ 1 characters
config object required
name string optional
subject string optional
keySize string optional
1024 2048 4096
keyType string optional
keyUsage string optional
encryption signing both
keyIsExtractable boolean optional
allowAllAppsAccess boolean optional
subjectAltName object optional
segmentId integer optional
≥ 0 · ≤ 9007199254740991
{
    "name": "string",
    "description": "string",
    "config": {
        "type": "scep",
        "serverUrl": "string",
        "CAFingerprint": "string",
        "retries": 0,
        "retryDelay": 0,
        "challenge": {
            "type": "ndes",
            "url": "string",
            "username": "string",
            "password": "string",
            "numChallenges": 0,
            "expirationPercentage": 0,
            "auth": "basic"
        }
    },
    "profiles": [
        {
            "id": "string",
            "name": "string",
            "config": {
                "name": "string",
                "subject": "string",
                "keySize": "1024",
                "keyType": "string",
                "keyUsage": "encryption",
                "keyIsExtractable": true,
                "allowAllAppsAccess": true,
                "subjectAltName": {
                    "rfc822Name": [
                        "string"
                    ],
                    "dNSName": [
                        "string"
                    ],
                    "uniformResourceIdentifier": [
                        "string"
                    ],
                    "ntPrincipalName": "string"
                }
            }
        }
    ],
    "segmentId": 0
}

Responses

200 Response application/json
status boolean required
data object required
id string required
Match pattern: ^[a-fA-F0-9]{24}$
name string required
≤ 128 characters
description string optional
≤ 256 characters
connectorToken string required
≤ 256 characters
config object required
type string required
scep
serverUrl string required
CAFingerprint string optional
retries number optional
≥ 0 · ≤ 10
retryDelay number optional
≥ 0 · ≤ 864000
challenge object required
profiles array [object] required
id string required
Match pattern: ^[a-fA-F0-9]{24}$
name string required
keyPairAlias string required
config object required
reports array [object] required
type string required
value string required
createdAt string required
counts object required
challenges number optional
version integer required
≥ 0 · ≤ 9007199254740991
updatedAt string required
createdAt string required
segmentId integer optional
≥ 0 · ≤ 9007199254740991
{
    "status": true,
    "data": {
        "id": "string",
        "name": "string",
        "description": "string",
        "connectorToken": "string",
        "config": {
            "type": "scep",
            "serverUrl": "string",
            "CAFingerprint": "string",
            "retries": 0,
            "retryDelay": 0,
            "challenge": {
                "type": "ndes",
                "url": "string",
                "username": "string",
                "password": "string",
                "numChallenges": 0,
                "expirationPercentage": 0,
                "auth": "basic"
            }
        },
        "profiles": [
            {
                "id": "string",
                "name": "string",
                "keyPairAlias": "string",
                "config": {
                    "name": "string",
                    "subject": "string",
                    "keySize": "1024",
                    "keyType": "string",
                    "keyUsage": "encryption",
                    "keyIsExtractable": true,
                    "allowAllAppsAccess": true,
                    "subjectAltName": {
                        "rfc822Name": [
                            "string"
                        ],
                        "dNSName": [
                            "string"
                        ],
                        "uniformResourceIdentifier": [
                            "string"
                        ],
                        "ntPrincipalName": "string"
                    }
                }
            }
        ],
        "reports": [
            {
                "type": "string",
                "value": "string",
                "createdAt": "string"
            }
        ],
        "counts": {
            "challenges": 0
        },
        "version": 0,
        "updatedAt": "string",
        "createdAt": "string",
        "segmentId": 0
    }
}
400 Response application/json
status boolean optional
false
error object optional
code number optional
6002
message string optional
Body Validation Error
{
    "status": false,
    "error": {
        "code": 6002,
        "message": "Body Validation Error"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?