I’m working on a Sierra Wireless HL7802 and am trying to perform HTTPS (SSL) to connect to remote server. However I receive an error message from the server during the communication phase.
Here are my AT commands :
AT+KSSLCFG=0,3
OK
AT+KCNXCFG=1,“GPRS”,““szsjmc.gd”,”“,”“”
OK
AT+KSSLCRYPTO=7,8,2,16384,8,4,1,0
OK
AT+KHTTPCFG=1,“server-name”,443,2,0"
+KHTTPCFG: 2
OK
+KCNX_IND: 1,1,0
AT+KTCPCFG=1,0,“server-name”,443"
+KTCPCFG: 3
OK
AT+KTCPSTART=2
CONNECT
HTTP/1.1 400 Bad Request
Server: Apache
Reason: You’re speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
I would like to know if the problem is related to the configuration of the server or the modem.
Did you have a configuration suggestion ?
Thanks.