Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javax.net.ssl.SSLContext to io.netty.handler.ssl.SslContext

How should one convert javax.net.ssl.SSLContext to io.netty.handler.ssl.SslContext ? I have access to SSLContext but need to set SSlContext in my client library.

like image 386
josh Avatar asked Dec 23 '17 11:12

josh


1 Answers

Have you tried io.netty.handler.ssl.JdkSslContext yet, which seems to accept a pre-configured javax.net.ssl.SSLContext?

like image 112
jCoder Avatar answered Oct 03 '22 16:10

jCoder