> Can client "override" servers ssl-default-server-ciphers/bind ciphers(
> or is the cipher suite selected from ssl-default-server-ciphers/ciphers)?

Both the server and the client have a list of supported cipher suites, ordered
by preference. With SSL_OP_CIPHER_SERVER_PREFERENCE enabled, the
server ignores the client preferences using its own. Otherwise the clients
preference is honored (that's what prefer-client-ciphers does).

On the backend (ssl-default-server-ciphers), where haproxy only acts as a
TLS client, the behavior depends completely on the server, we can provide
our list including preferences (ssl-default-server-ciphers), but the server
decides whether our preferences is respected or not.

That's why this option is only relevant for bind, not for servers.

A client can always enforce a specific cipher suite though, by specifying
only a single cipher in its list. If the server support and enables that cipher
suite, the connection succeeds, otherwise it fails.


Lukas


Reply via email to