Anybus® CompactCom 40 - EtherNet/IP IIoT Secure

installcacert.json & installdevcert.json

Install a CA certificate:

POST api/security/config/installcacert.json 

Request data:

Name

Data Type

Note

CaCert

String

CA certificate in PEM format

Install a device certificate:

POST api/security/config/installdevcert.json – formdata: 
   DevCert=<Device certificate in PEM format>&DevKey=
                     <Device certificate private key in PEM format>

Request data:

Name

Data Type

Note

DevCert

String

Device certificate in PEM format

DevKey

String

Device certificate private key in PEM format

Response data:

Name

Data Type

Note

result

Integer

The result of the operation (0 = success)

errordesc

String

A readable description of the fault in case of error.

JSON success response example:

{
   "result" : 0
}

JSON error response example:

{
   "result" : 21,
   "errordesc":"Failed to parse certificate"
}