Hi,
I am trying to communicate with AWS.
I was able to communicate with AWS using the HL7692 module. I am using inbuilt TLS support of the HL7692 module.
But in this approach, I am writing my private key into the HL7692 module. Since anyone can tap the HL module lines are tap my private key, I don’t want to write my private key into the HL module.
To solve that I will do encryption and decryption within my firmware. For this, I need to open a socket and send encrypted data through it to AWS.
How can I open a socket in this use case?
Is there is any example code that I can refer to? (I am trying to use mbedtls)
I am using at commands to send data to AWS. I will open a secure socket using AT command. I will create MQTT packet in my application program. i will forward that packet to the created socket.
Now I want to open a simple socket. But i don’t know how to do the TLS operation in my firmware. I want some help to do the TLS operation in my firmware.
Or,
Is there any possibility to create a secure socket with out using the device private key. Root certificate and device certificate will be written into the the HL module.
originally you say " I will do encryption and decryption within my firmware", but now you say " i don’t know how to do the TLS operation in my firmware.", which one is correct?
Hi,
I was trying to open a simple socket. (without encryption)
Do I need to configure the cipher suite (using at command AT+KSSLCRYPTO )
If yes, can you please provide me the cipher suite configuration.
Right now I am configuring the cipher suite using following AT command
AT+KSSLCRYPTO=0,1,1,8388,67,4,0