How to specify TLS version

Andreas Metzler ametzler at bebt.de
Tue Mar 30 17:01:34 BST 2021


On 2021-03-30 Adam Szmyd <szmydadam at gmail.com> wrote:
> Hello.

> I have an service that uses `libgnuutils-dev` v3.4.10. We use it to make
> DTLS for WebRTC application.

> Recently we switched the way we deploy it and noticed that
> `gnutls_handshake` started throwing this error: `Could not negotiate a
> supported cipher suite`.

> Turns out after sniffing wireshark that this service is now attempting to
> use TLSv1.0 instead of TLSv1.2 as earlier.

> I tried to find it in documentation
> https://www.gnutls.org/manual/gnutls.html with no luck so thats why im
> asking: what determines what kind of TLS version is used by gnutls library?
[...]

Hello,
The gnutls priority string.
https://www.gnutls.org/manual/html_node/Priority-Strings.html#Priority-Strings

cu Andreas



More information about the Pkg-gnutls-maint mailing list