SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

19SSL/TLS
Page 205 of 307
Type Syntax Response Example
OK
Test AT+USECMNG=? +USECMNG: (list of supported <op_
code>s),(list of supported <type>s)
OK
+USECMNG: (0-4),(0-2)
OK
19.2.3î™–î™–î™–î™–Defined values
Parameter Type Description
<op_code> Number Type of operation:
• 0: import a certificate or a private key (data provided by the stream of byte)
• 1: import a certificate or a private key (data provided from a file on FS)
• 2: remove an imported certificate or private key
• 3: list imported certificates or private keys
• 4: retrieve the MD5 of an imported certificate or private key
<type> Number Type of the security data:
• 0: trusted root CA (certificate authority) certificate
• 1: client certificate
• 2: client private key
<cert_type> String Type of the security data:
• "CA": trusted root CA (certificate authority) certificate
• "CC": client certificate
• "PK": client private key
<internal_name> String Unique identifier of an imported certificate or private key. If an existing name is used
the data will be overridden. The maximum length is 200 characters.
<data_size> Number Size in bytes of a certificate or private key being imported. The maximum allowed size
is 8192 bytes.
<password> String Decryption password; applicable only for PKCS8 encrypted client private keys. The
maximum length is 128 characters.
<filename> String Name of the FS file containing the certificate or private key data to be imported. The
maximum allowed file size is 8192 bytes.
<md5_string> String MD5 formatted string.
<common_name> String Certificate subject (issued to) common name; applicable only for trusted root and
client certificates.
<expiration_date> String Certificate expiration (valid to date); applicable only for trusted root and client
certificates.
<param1> Number/
String
Type and supported content depend on the related <op_code> parameter; see the
<op_code> specification.
<param2> Number/
String
Type and supported content depend on the related <op_code> parameter; see the
<op_code> specification.
19.2.4î™–î™–î™–î™–Notes
SARA-R4 / SARA-N4
• The <password>, <common_name> and <expiration_date> parameters are not supported.
SARA-R410M
• The certificates in the PEM format are not supported; they will not be automatically converted to the
DER format.