ussl, ssl_handshake status: -256,ErroNo: 5

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
ikian
Posts: 1
Joined: Sat Jul 23, 2016 9:15 pm

ussl, ssl_handshake status: -256,ErroNo: 5

Post by ikian » Sun Jul 24, 2016 6:48 am

Hello i need to have an ssl connection to an Imap server.
I'm stuck, when i wrap my socket it raise an error on the esp board, (it does work on the wipy)
(Error:ssl_handshake status: -256,ErroNo: 5)
Is the ussl equaly implemented on the wipy and esp board?

Thanks
Christian

jms
Posts: 108
Joined: Thu May 05, 2016 8:29 pm
Contact:

Re: ussl, ssl_handshake status: -256,ErroNo: 5

Post by jms » Sun Jul 24, 2016 6:10 pm

The small SSL implementation is minimal and won't talk to things that are trying to be secure. I think you have answered your own question regarding equality.

You could probably enable debug somewhere or dig around in the code and find out exactly what but you're very unlikely to be able to fix it and if you did fix it chances are it would break again.

As I have said elsewhere use the ESP8266 to talk to a server _you_ control using the simplest possible protocol (I suggest UDP, not TCP and certainly not HTTP) and forget SSL.

Post Reply