[gnutls-help] GNUTLS_E_PREMATURE_TERMINATION error

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri May 2 09:30:17 CEST 2014


On Thu, May 1, 2014 at 8:20 PM, Polina Abramov <polinaa at image-vault.com> wrote:
> Thanks!
> I ran wireshark and it looks like at some point my client issues Encrypted
> Alert 21. Is it something I should be worried about?

How did you see the alert type? (it is encrypted) What you've seen is
probably the alert message type which is also 21.

In that case it is most probably that you're sending the close notify
alert, that is the proper way to signal the termination of the TLS
session. If that's the case you could ignore the premature termination
errors are you already intended to terminate it.

regards,
Nikos



More information about the Gnutls-help mailing list