07-17-2020 01:33 AM
Hi,
I am trying to connect my XMPP client application with CUCM IM & Presence using Smack library.
I am able to connect over TCP but over TLS getting folllowing error-
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I have downloaded "CUCM XMPP" certificate from CUCM IM & Presence and imported into java key store.
Does CUCM IM & Presence supports TLS connectivity for 3rd party client.
Thanks & Regards,
Umesh
07-21-2020 12:50 PM
Depending on the particular client/library you are using, you may need to import one or both of the 'cup-xmpp' and 'cup-xmpp-ECDSA' certificates from the IM&P OS Admin/Security/Certificate Management page. Testing with Java 11, IM&P seemed to negotiate and return the cup-xmpp-ECDSA certificate for validation (which tripped me up for a long while, as I'd only imported the cup-xmpp certificate...)
07-21-2020 10:29 PM
Thanks David. I will try after importing both certificates.
Currently I have imported only cup-xmpp.
Regards,
Umesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide