Hello Sir,
I am using Mc60 module i have send and receive data via normal tcp\ip commuication in module.
and now i want to do this by SSL TCP\IP.
I have already created server for this .and now i have certificates and keys are available.
my one friend had already done communication between module and server in EC25 module using same certificates and key.
but when i doing the same at AT+QSSLPEN.it gives response +QSSLOPEN 1,-1 means that give error.
when i show the Server logs its shows error SSLv3 Bad certificate.i dont know why this happens.
my AT command sequence is.
1)AT+QSECWRITE=“RAM:cacerificate.crt”,5652
2)AT+QSECWRITE=“RAM:clientcerificate.crt”,2199
3)AT+QSECWRITE=“RAM:clientkey.key”,1704
after uploading file succesfully to RAM its all ok .checksum is all right.me and my friend both get same checksum means all certificate and key is valid.
after that .
4)AT+QIFGCNT=0.
5)AT+QICSGP=1,“www”.
6)AT+QIREGAPP.
7)AT+QIACT
8)AT+QILOCIP
after this all process i got my local ip successfully.
- AT+QSSLCFG=“ignorertctime”,1
10)AT+QSSLCFG=“sslversion”,1,3 (because server use TLS1.2)
11)AT+QSSLCFG=“seclevel”,1,2
12)AT+QSSLCFG=“ciphersuite”,1,“0xFFFF”
13)AT+QSSLCFG=“cacert”,1,“RAM:cacertificate.crt”
14)AT+QSSLCFG=“clientcert”,1,“RAM:clientcertificate.crt”
15)AT+QSSLCFG=“clientkey”,1,“RAM:client_key.key”
after this process i got ALL OK response from module.
16)AT+QSSLOPEN=1,1,“hubapp.siotel.in”,9999,0 (where hubapp.siotel.in is url and 9999 is port)
and the response is OK
+QSSLOPEN 1,-1.
now i dont know why this working on EC25.but not in MC60.
please do my help
THanks & Regards
Rahul Sharma.