Hi,
I’m trying to establish HTTPS connection to our internal server by using a server authentication. Here below the sequence of AT commands:
AT+KCERTSTORE=0,1558,0
AT+KCNXCFG =1,“gprs”,“internet”
AT+KHTTPSCFG=1,“server_url”,443,0,7,2,0
AT+KHTTPSGET =1,“server_path”
The certificate is stored by sending a PEM file in binary format via TeraTerm and the result of KCERTSTORE is always OK. Using DER format gives ERROR.
+KHTTPSGET always results with:
NO_CARRIER
If <sec_level> in KHTTPSCFG is set to 1, no error happens and GET request succeeds.
I found a lot of similar issues inside the forum, but cannot actually understand how to fix it.
Please, do you have any suggestion or working example?
Thanks in advance.
Sabino