activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul woods <paulwo...@geolang.com>
Subject Re: nio+ssl w/programatic {key|trust}store configuration
Date Tue, 24 Sep 2019 12:56:51 GMT
Very old thread - but just in case someone comes accross this!

SSLContext ctx = SSLContext.getInstance("TLS"); // for nio 
ctx.init(getKeyManager(), getTrustManager(), new SecureRandom());
SSLContext.setDefault(ctx);

Note javax.net.ssl.SSLContext and NOT org.apache.activemq.broker.SslContext



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message