Smart Machine Smart Decision
+CCHCLOSE: 0
//stop SSL Service
AT+CCHSTOP
OK
+CCHSTOP: 0
3.3 Access to SSL/TLS server (only verify the server)
Following commands shows how to access to a SSL/TLS server with verifying the server. It needs to configure
the authentication mode to 1 and the right server root CA, and then it will connect to the server successfully.
// Set the SSL version of the first SSL context
AT+CSSLCFG="sslversion",0,4
OK
// Set the authentication mode(verify server) of the first SSL context
AT+CSSLCFG="authmode",0,1
OK
// Set the server root CA of the first SSL context
AT+CSSLCFG="cacert",0,"ca_cert.pem"
OK
// Enable reporting +CHSEND
result
AT+CCHSET=1
OK
// start SSL service, activate PDP context
AT+CCHSTART
OK
+CCHSTART: 0
// Set the first SSL context to be used in the SSL connection
AT+CCHSSLCFG=0,0
OK
//connect to SSL/TLS server
AT+CCHOPEN=0,"www.baidu.com",443,2
OK
SIM7500_SIM7600_SIM7800 Series_SSL_AT Command Manual
24 / 36
Need help?
Do you have a question about the SIM7600 Series and is the answer not in the manual?