Search code examples
flashapache-flexas3crypto

TLS error codes in as3crypto


I am using TLSSocket (part of as3crypto). Every now and then I see this in my console:

GOT ALERT! type=51

and then the socket will close. It appears that this is the error handling in TLSEngine.parseAlert.

The trouble is, I don't know what the TLS error codes are. Has anyone seen this error before? If not, where can I find documentation on the TLS error codes?


Solution

  • It is a fatal "decrypt error".

    See the wikipedia article on TLS: http://en.wikipedia.org/wiki/Transport_Layer_Security#Alert_protocol