Skip to content

/AWS1/CL_IOT=>REGISTERCERTIFICATE()

About RegisterCertificate

Registers a device certificate with IoT in the same certificate mode as the signing CA. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.

Requires permission to access the RegisterCertificate action.

Method Signature

IMPORTING

Required arguments:

IV_CERTIFICATEPEM TYPE /AWS1/IOTCERTIFICATEPEM /AWS1/IOTCERTIFICATEPEM

The certificate data, in PEM format.

Optional arguments:

IV_CACERTIFICATEPEM TYPE /AWS1/IOTCERTIFICATEPEM /AWS1/IOTCERTIFICATEPEM

The CA certificate used to sign the device certificate being registered.

IV_SETASACTIVE TYPE /AWS1/IOTSETASACTIVEFLAG /AWS1/IOTSETASACTIVEFLAG

A boolean value that specifies if the certificate is set to active.

Valid values: ACTIVE | INACTIVE

IV_STATUS TYPE /AWS1/IOTCERTIFICATESTATUS /AWS1/IOTCERTIFICATESTATUS

The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTREGCERTRESPONSE /AWS1/CL_IOTREGCERTRESPONSE