HTTPS connection in EC200U-CN

Hi,
Purpose:
I am using HTTPS server connection for upload and download of files.

What I tried:
I configured both the client and server certificates as mentioned in the manual in the GSM module .I tried to connect to the server ,I got +CME ERROR: 732 (SSL handshake failed). I checked connecting to server using postman api it , I was able to download and upload files in my server.

Questions:
1)My server is configured to work with protocol version TLSv1.3 ,whether my EC200U module supports this version?
2)How the SSL handshake can be made successful. I verified the CA root signature with server .I configured client certificate and key in openssl according to the server’s cipher suite.

AT command and responses:
[2024-11-04 17:40:39:303_S:] AT+QHTTPCFG=“sslctxid”,1

[2024-11-04 17:40:39:319_R:] OK
[2024-11-04 17:40:42:020_S:] AT+QSSLCFG=“sslversion”,1,4

[2024-11-04 17:40:42:026_R:] OK
[2024-11-04 17:40:43:091_S:] AT+QSSLCFG=“ciphersuite”,1,0xFFFF

[2024-11-04 17:40:43:091_R:] OK
[2024-11-04 17:40:44:548_S:] AT+QSSLCFG=“cacert”,1,“UFS:CA_ROOT”

[2024-11-04 17:40:44:548_R:] OK
[2024-11-04 17:40:46:121_S:] AT+QSSLCFG=“cacertex”,1,“UFS:CA_ROOT”

[2024-11-04 17:40:46:128_R:] OK
[2024-11-04 17:40:47:636_S:] AT+QSSLCFG=“clientcert”,1,“UFS:_client_cer”

[2024-11-04 17:40:47:644_R:] OK
[2024-11-04 17:40:48:708_S:] AT+QSSLCFG=“clientkey”,1,“UFS:client_key”

[2024-11-04 17:40:48:723_R:] OK
[2024-11-04 17:40:50:194_S:] AT+QSSLCFG=“seclevel”,1,2

[2024-11-04 17:40:50:202_R:] OK
[2024-11-04 17:40:51:587_S:] AT+QSSLCFG=“ignoremulticertchainverify”,1,1

[2024-11-04 17:40:51:587_R:] OK
[2024-11-04 17:40:52:928_S:] AT+QSSLCFG=“ignoreinvalidcertsign”,1,1

[2024-11-04 17:40:52:944_R:] OK
[2024-11-04 17:40:54:237_S:] AT+QHTTPCFG=“contenttype”,3

[2024-11-04 17:40:54:252_R:] OK
[2024-11-04 17:40:55:440_S:] AT+QHTTPURL=40,30

[2024-11-04 17:40:55:455_R:] CONNECT
[2024-11-04 17:40:56:812_S:] https://example.com

[2024-11-04 17:40:56:843_R:] OK
[2024-11-04 17:40:58:385_S:] AT+QHTTPPOST=3116,30,30

[2024-11-04 17:40:58:702_R:] +CME ERROR: 732

Kindly guide me with a solution.

Hi @Nishanth1
Please confirm if your certificate has been uploaded, if it is available, and if the path is correct.

Hi @Hayes ,
I checked, the certificate is uploaded and the path is correct.

You got the solutions

Hi @GOWTHAM_KRISHNAN ,
Still ,the https connection is not success. How to verify whether the CA root certificate and Intermediate certificates are correct for the server.

I tried to add a new SSL certificate, and then when I retried, it worked fine.but I’m getting new error after uploading httppost header my device getting reset

AT+QHTTPCFG?
AT+CGACT=1,1
AT+CGDCONT?
AT+QHTTPCFG=“contextid”,1
AT+QHTTPCFG=“requestheader”,1
AT+QHTTPCFG=“responseheader”,1
AT+QHTTPCFG=“contenttype”,1
AT+QHTTPCFG=“rspout/auto”,1
AT+QHTTPCFG=“closed/ind”,1
AT+QHTTPCFG=“url”,“https://”
AT+QHTTPCFG=“auth”,“Authorization:key”
AT+QHTTPCFG=“header”,“Content-Type: application/json”
AT+QHTTPCFG=“header”,“Accept: application/json”
AT+QHTTPPOST=125,80,80
CONNECT
"Json format data "