JUCE TLS 1.2 support

AWS is enforcing that as the minimum, and it seems by default, JUCE is using 1.0 or 1.1.

Is there a way to specify TLS version as 1.2 when using InputStreamOptions, or do I need to switch to cURL?

2 Likes

JUCE doesn’t handle the decryption of the network traffic. That’s all done by the OS. So if the OS doesn’t support TLS 1.2 (or has it disabled), then you won’t be able to connect.

An alternative would be to add libCurl with openSSL (or mbedtls, or wolfssl), and nghttp2 to add HTTP/2 support.