SENA Serial_IPTM Redirector 4.3 User Manual

Page 62

Advertising
background image

negotiated on the last TCP connection, the command processor simply emits “OK”.

Certificate Required (AT+SCR)

This command allows the application to set and query whether the remote endpoint must present a valid
certificate at the beginning of the SSL/TLS session. It is of the format:

AT+SCR=[0,1]

If the application specifies 0, no certificate checking is performed. If the application specifies 1, then certificate
checking is performed in accordance with the following two commands. If the application specifies no value, the
current setting returns to the default as specified in the Control Panel.

The application may also query the current status of certificate checking, for example:

AT+SCR?

1

OK

The application may also query the range of values, for example:

AT+SCR=?

0,1

OK

Certificate Authority Keys (AT+SCK)

This command allows the application to specify the path to the file that contains the public keys of the Certificate
Authority that is to be used to authenticate a certificate. It is of the format:

AT+SCK=<fully-qualified-filename>

The <fully-qualified-filename> specifies the file that contains the certificate keys (in PEM format). If the specified
file does not exist or is not accessible, then “ERROR” is output and the original value is retained. If no file is
specified, the setting refers to the default as specified in the GUI.

The application may query the current setting by using the command in the following example:

AT+SCK?

C:\Program Files\Tactical Software\COMIP\sampleca.pem

OK

Certificate Authentication (AT+SCA)

This command allows the application to set and query the certificate validation parameters. It is of the format:

Advertising