Create a new SCEP server configuration. Returns a server_id for use when creating SCEP templates

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Save the scep server credentials

Endpoints

Request URL

https://{server-hostname}:8383/api/v1/mdm/scep/servers

Scope

MDMDeviceMgmt.CREATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/jsonapplication/jsonCopied!
AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Request Body

application/json
JSON Object
Hide Sub-Attributes
server_namestringOptional

Display name for the SCEP server

typestringMandatory

SCEP server type. 1=Microsoft SCEP, 2=EJBCA, 3=OpenXPKI, 4=Dogtag, 5=Custom, 101=Intune

urlstringOptional

URL of the SCEP server endpoint

ca_certificate_idstringOptional

Certificate ID of the CA certificate uploaded via Upload Certificate

ca_finger_printstringOptional

SHA-1 fingerprint of the CA certificate (hexadecimal string)

ca_typeintegerOptional

CA type. 0=Root CA, 1=Intermediate CA, 2=External CA

redistribute_profilesbooleanOptional

Whether to redistribute profiles associated with this SCEP server when updated. Default: false

ra_certificate_idstringOptional

Certificate ID of the RA certificate (if different from CA). Obtain from the Upload Certificate response

profile_oidstringOptional

OID for the certificate profile/template on the SCEP server

adcs_doc_ackbooleanOptional

Acknowledgement flag for ADCS documentation requirements. Default: false

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomain/api/v1/mdm/scep/servers \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/json' \
  --data '{"ca_finger_print":"bf54330f3132d590d3d7c3e86ebc8563b5ea976e","server_name":"Sample","ca_certificate_id":"6967000000565073","type":"1","url":"http://10.51.79.112/certSrv/mscep/mscep.dll","redistribute_profiles":false}'

Sample Request Body

Add a new Microsoft SCEP server

Copied!
  {
    "ca_finger_print": "bf54330f3132d590d3d7c3e86ebc8563b5ea976e",
    "server_name": "Sample",
    "ca_certificate_id": "6967000000565073",
    "type": "1",
    "url": "http://10.51.79.112/certSrv/mscep/mscep.dll",
    "redistribute_profiles": false
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
server_idstring

Unique identifier of the created SCEP server. Use this ID when creating SCEP templates via Add SCEP Template

server_namestring

Display name of the SCEP server

typestring

SCEP server type. 1=Microsoft SCEP, 2=EJBCA, 3=OpenXPKI, 4=Dogtag, 5=Custom, 101=Intune

urlstring

URL of the SCEP server endpoint

ca_certificate_idstring

Certificate ID of the CA certificate

ca_finger_printstring

SHA-1 fingerprint of the CA certificate

adcs_doc_ackboolean

ADCS documentation acknowledgement flag

template_countstring

Number of templates configured for this SCEP server

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

SCEP server configuration successfully created

Copied!
  {
    "ca_finger_print": "bf54330f3132d590d3d7c3e86ebc8563b5ea976e",
    "server_name": "Sample",
    "ca_certificate_id": "6967000000565073",
    "adcs_doc_ack": false,
    "template_count": "0",
    "server_id": "6967000000599725",
    "type": "1",
    "url": "http://10.51.79.112/certSrv/mscep/mscep.dll"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.