Technical information

Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-189
+iCA - Define SSL3/TLS Certificate Authority
Syntax: AT+iCA=tca
Sets the certificate of the trusted certificate authority. This
authority is the one eligible to sign a server's certificate. W24
accepts a server's identity only if its certificate is signed by this
authority.
Parameters: tca = PEM format DER-encoded X509 certificate.
Command Options:
tca =<CR><CR> Empty: No trusted certificate authority.
tca =<cert> cert is referenced as the trusted certificate authority's certificate
during SSL3/TLS1 socket connection establishment (handshake).
W24 establishes an SSL3/TLS1 socket connection only to servers
having a certificate authenticated by this certificate authority.
W24 expects cert to be multiple lines separated by <CR>,
beginning with:
-----BEGIN CERTIFICATE-----
and terminating with:
-----END CERTIFICATE-----
Maximum size of cert is 1300 characters.
Default: Empty. No trusted Certificate Authority defined.
Result Code:
I/OK If tca is an empty or legal certificate.
I/ERROR Otherwise.
AT+iCA? Report the current trusted certificate contents. The reported value
displays the Certificate Authority name, certificate validity date
range, and the entire PEM contents. If the trusted certificate is
empty, only <CRLF> is returned. The reply is followed by I/OK.
AT+iCA=? Returns the message "String". The reply is followed by I/OK.
Sample PEM format DER-encoded X509 certificate:
-----BEGIN CERTIFICATE-----
MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQ
ECBQAwXzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWdu
LCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYX
J5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAw
MDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMAkGA1UEBhMCVVMxFz
AVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz
cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG
9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJXFme
8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBa
rsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8K
kMaOIG+YD/isI19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe
0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBAgUAA4GBALtM
EivPLCYATxQT3ab7/AoRhIzzKBxnki98tsX63/Dolbwdj2wsqF
HMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJ
XNycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/Afb
dynMk2OmufTqj/ZA1k
-----END CERTIFICATE-----