SENA Serial_IPTM Redirector 4.3 User Manual

Page 63

Advertising
background image

AT+SCA<field>=<matching-text>

The <field> is the field within the certificate, and may be one of the following values:

C: Country

S: State

L: Locality

O: Organization

OU: Organizational Unit

CN: Common Name

EM: Email Address

The <matching-text> is a literal string with the addition of three tokens: %h which means the hostname of the
remote peer, %i which means the IP Address of the remote peer. If the <matching-text> is omitted, then the field
is not validated (note that once a field is set via this command, the only way to revert the setting back to the GUI
specification is to reset the modem via ATZ or AT&F, which reverts all of the settings). For example, to validate
the Organization as “Tactical Software”, and the Common Name as the hostname of the server, the application
sends the following commands:

AT+SCAO=Tactical Software

OK
AT+SCACN=%h

OK

The application may query the current setting of each field, as shown in the example below:

AT+SCAO?

Tactical Software

OK
AT+SCACN?

%h

OK

The application may also query the contents of each field of the certificate presented from the peer in the last
SSL/TLS session. For example:

AT+SCEM=?

[email protected]

OK
AT+SCACN=?

server.tacticalsoftware.com

Advertising