Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

How to use TLS in Smack 4.1.0

$
0
0

Hi,

 

How to use TLS in Smack 4.1.0? here is my config

 

 

XMPPTCPConnectionConfiguration.builder().setDebuggerEnabled(true)

                .setHost("127.0.0.1").setUsernameAndPassword(username, password)

                .setSecurityMode(SecurityMode.reuired)

                .setServiceName(JidCreate.domainBareFrom("127.0.0.1")).setLegacySessionDisabled(true)

                .setSendPresence(false).setCompressionEnabled(true).build();

 

seems that need to set setKeystorePath, I used the client.truststore under openfire security directory, but it can't work

 

is there any doc, or can you please provide some instructions

 

Thanks


Viewing all articles
Browse latest Browse all 4979

Trending Articles