cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1404
Views
15
Helpful
5
Replies

unable to establish secured SSL over XMPP connection to finesse server

amfat2000
Level 1
Level 1

hello

we are using smack library to instantiate xmpp connection through 5223 port but never connect

ConnectionConfiguration config = new ConnectionConfiguration(hostname, 5223, "proxy.eu.jabber.org");


config.setDebuggerEnabled(true);


config.setSASLAuthenticationEnabled(true);
config.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);
config.setCompressionEnabled(false);
SSLContext sslContext =createSSLContext();

config.setCustomSSLContext(sslContext);
config.setSocketFactory(sslContext.getSocketFactory());
config.setSelfSignedCertificateEnabled(true);

config.setTruststoreType("JKS");
config.setKeystorePath(System.getProperty("./FIN-PUB-A-50.jks"));
config.setTruststorePath(System.getProperty("./FIN-PUB-A-50.jks"));
config.setTruststorePassword(System.getProperty("changeit"));

5 Replies 5

dekwan
Cisco Employee
Cisco Employee

Hi,

 

Are you sure that the certificates were exchanged correctly? What is the error that you get?

 

Thanx,

Denise

Hello Denise

Yes certificates are exchanged correctly and error coming is no response from server. it is working with port 5222 and connected successfully , which means that certificate is imported successfully in our trust store. the issue with port 5223 which require SSL context

Hi,

 

What version of Finesse are you using and what type of deployment (CCE or CCX)?

Thanx,

Denise

Dear Denise

it is UCCE 12.5 sandbox

Hi,

 

I have you tried to connect to the Finesse notification server manually using Pidgin or Adium?

 

Using Adium, I was able to connect with 5223. I am using agent1, which is equivalent to 123000 (you have to use the agentId, not the loginName). Here are my configurations

 

1.png

 

2.png

(I have to use the IP address because my laptop is not resolving the Finesse FQDN)

 

I would suggest that you manually connect to the notification service to make sure you have the right configuration.

 

Thanx,

Denise