Hi All.
I've got a question about how to configure a server (openVPN 2.4.9) to use a certain set of cipher suites.
My scenario is a site-to-site setup between two devices/systems.
Listing the supported suites for TLS 1.3 (or 1.2) that should be legal to use with the tls-ciphersuites directive:
> openvpn --show-tls
I see that the cipersuites I'd like to use are listed:
TLS-PSK-WITH-AES-128-CBC-SHA256
TLS-PSK-WITH-AES-256-CBC-SHA384
TLS-PSK-WITH-AES-128-GCM-SHA256
TLS-PSK-WITH-AES-256-GCM-SHA384
These are described in
RFC 4279 and
RFC 5487
These suites work by sending a Key ID when establishing a TLS connection, and tests whether both ends are using the same key (after local retrieval on their respective sides).
From this
post, I understand the difference between the control packets vs the data packets.
If you write a client and server using these suites (either with openssl or mbedtls), you need to register a callback that performs the (respective) key lookup from the Key ID sent over the wire.
Is this supported in openvpn? If so, how do you configure it?