[Help-gnutls] Re: Set the priority of the key exchange algorithms on the server

Simon Josefsson simon at josefsson.org
Wed Dec 17 00:01:29 CET 2008


liuxiaoyu <wkfta at hotmail.com> writes:

> Hi,
>  
> I am using gnutls 2.6.2. I am wondering if we can set the priority of the key exchange algorithms on the server.
>  
> For example, if client adds some RSA-based ciphersuites as well as some PSK-based ciphersuites to the ClientHello message, how can I make the server to select the PSK-based ciphersuite?
>  
> I noticed gnutls_kx_set_priority() only works on the client, is that ture? So how can I set the priority of the key exchange algorithms on the server?

No, it should work in servers too, and is the recommended way to handle
this.

/Simon





More information about the Gnutls-help mailing list