GnuTLS | TLS handshake fails between OpenSSL 3.6.0 and GnuTLS (#1746)

Read-only notification of GnuTLS library development activities <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>

Ó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.

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.