When I open an SSL connection, I get a successful response “AT+QSSLOPEN=0,0” but the server closes the socket immediately and I cannot perform any request.
I control the server side, so I just used “openssl s_server -smg -debug” command to see what happens on the server: the certificate exchange is ok, after that the modem does a long pause (probably checking the certificate) and send the open socket response, then the server get a ClientKeyExchange and other TLS messages from the client but decides to close the connection.
When I use a client like “wget” to do the same request, I can spot one difference in TLS handshake: in this case I see a ServerKeyExchange message which is not sent from the server when I use the M95.
I can do the same request using an UG96 and it works just fine, but with the M95 I hit this wall. Why is that?
Any working example of SSL/TLS sockets with M95?