Create new Certificate for Device from a certificate signing request

Create new Certificate for Device from a certificate signing request

type - BOOTSTRAP or PRODUCTION - default PRODUCTION - The device generates the key pair and keeps the private key, so the response holds only the signed certificate

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
csrstringtruePEM encoded PKCS#10 certificate signing request, generated by the device from a key pair it keeps. Send the whole block, from the BEGIN CERTIFICATE REQUEST line to the END CERTIFICATE REQUEST line, with the line breaks escaped as \n-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzEL...\n-----END CERTIFICATE REQUEST-----
Path Parameters:
ParameterTypeMandatoryDescriptionExample
idstringtrueDevice iddevice1
Query Parameters:
ParameterTypeMandatoryDescriptionExample
typestringfalseSupported values are: BOOTSTRAP, PRODUCTION, default value: PRODUCTION. BOOTSTRAP - temporary certificate for factory tests only. PRODUCTION - certificate for production devices

This API requires PROTECTED_API permission(s).

Path Params
string
required

Device id

Query Params
string
enum
Defaults to PRODUCTION

Supported values are: BOOTSTRAP, PRODUCTION, default value: PRODUCTION. BOOTSTRAP - temporary certificate for factory tests only. PRODUCTION - certificate for production devices

Allowed:
Body Params
string
required

PEM encoded PKCS#10 certificate signing request, generated by the device from a key pair it keeps. Send the whole block, from the BEGIN CERTIFICATE REQUEST line to the END CERTIFICATE REQUEST line, with the line breaks escaped as \n

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json