certificate 7cd
the file is not a PEM file.
rsa private key 4a8
certificate 2ee
Please load request certificate
I am trying to do both client certificate authentication and server certificate verification. I think that the first line starting certificate is the fact that the server certificate has been found. The rsa private key has been found and the client certificate has been found. I guess it is possible that I have the wrong names for these objects (I used certificate and rsa private key).
Actually it seemed that I had the key and the cert in the wrong order. It works better with them swapped over.
It still doesn't work -- even if I disable server certificate verification.
certificate 2ee
rsa private key 4a8
the file is not a PEM file.
client handshake start.
client handshake ok!
client's data invalid protocol
Error: SSL error 3
Does anyone have an example of working client certificate authentication? I'm using SDK 1.5.1 if it makes any difference...
I also tried 1.5.2 and it didn't help. I note that the log message complains about the objects not being in PEM format. However, the example code from espressif uses the DER format. Also the DER format works for server certificate verification.
PhilipStatistics: Posted by philip — Sun Mar 06, 2016 11:45 am
]]>