1. Where could I find the definitions of those reason codes, e.g. below print by sdk:
client handshake failed!
Reason:[-0x4310]
Some of them could be found from SSL protocols, but some could be not be found like above -0x4310
2. Is there a way or an API to capture the reason codes if peer sends to us, other than SDK print?
e.g. SDK debug print “client's data invalid protocol Reason:[-0x7880]” which means that "The peer notified us that the connection is going to be closed".
Is there an API to get these reason codes?
3. Is there an efficient idea to burn the bin of CA certificates into the module?
Scenario 1: We have 10K module without CA and client certificates burnt before.
How could we lead these module to support SSL? burn one by one?
Scenario 2: The module connects one SSL server, then connects another SSL server.
Then, need to burn the CA certificates twice frequently ?
Thanks!