When using the LettuceConnectionFactory in versions previous to 2.0, you could use the .useSsl() method to use ssl for the connection. With 2.0, that is now deprecated, and documented to use LettuceClientConfiguration instead.
Issue is when using the code from the documentation here, it doesn't compile. The LettuceClientConfiguration.Builder.useSsl() method returns a LettuceSslClientConfigurationBuilder that has no public methods, and isn't accepted as a parameter in LettuceConnectionFactory.
Apologies if I'm doing something wrong, or missed documentation on how to properly configure Lettuce with ssl.