[gnutls-devel] GnuTLS | TLS handshake fails between OpenSSL 3.6.0 and GnuTLS (#1746)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Oct 15 08:04:12 CEST 2025



Óscar García Amor created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1746



## Description of problem:
TLS handshake fails when connecting to specific HTTPS servers after upgrading OpenSSL from 3.5.4 to 3.6.0.

It is definitely a problem caused by updating OpenSSL to 3.6.0 because if you roll back to 3.5.4, everything works again.

This was initially detected in WebKit applications, so there [is a related bug in Bugzilla](https://bugs.webkit.org/show_bug.cgi?id=300584).

## Version of gnutls used:
3.8.10

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Arch Linux

## How reproducible:

1. Use Arch Linux (up to date as of October 2025).
2. Ensure OpenSSL 3.6.0 is installed.
3. Install and configure nginx with a simple self-signed TLS certificate.
4. Launch any GnuTLS client such Epiphany, wget or aria2.
5. Open https://localhost/.

## Actual results:
Epiphany shows an SSL/TLS error 'Peer failed to perform TLS handshake: Error decoding the received TLS packet.'

In wget or aria2 similar error 'GnuTLS: Error decoding the received TLS packet'.

## Expected results:
Everything should work fine, regardless of the version of OpenSSL installed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1746
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20251015/588a776b/attachment.html>


More information about the Gnutls-devel mailing list