Skip to content

/AWS1/CL_IOT=>CREATEKEYSANDCERTIFICATE()

About CreateKeysAndCertificate

Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.

Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.

Requires permission to access the CreateKeysAndCertificate action.

Method Signature

IMPORTING

Optional arguments:

IV_SETASACTIVE TYPE /AWS1/IOTSETASACTIVE /AWS1/IOTSETASACTIVE

Specifies whether the certificate is active.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTCREKEYSANDCERTRSP /AWS1/CL_IOTCREKEYSANDCERTRSP