XMPP binding and tlspin

Hi,

I’ve upgraded from 2.4 to 2.5 and im using XMPP Action with my google account.
I’ve looked at new XMPP Client Binding with the idea of migrating to it.

But I can’t find TLSPIN configuration, is it not necessary ?

Thanks
Bye Mirko

Not sure what TLSPIN is but if it’s a 1.x binding then it will be configured via the cfg file in etc/openhab2/services/

TLSPIN is present in the old version of XMPP Actioin and not present in new one.

In that case give the new version a try and see if it works as expected.

i’m facing similar issue. migrated from OH2 to OH3 ending up in SSL handshake error.

for the XMPP OH2 binding, it was posilbe to add “tlspin” and security mode requried via the xmpp.cfg

for OH3 only basic server, and port are available via xmpp.things

Error:

Status: 
OFFLINE
COMMUNICATION_ERROR
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

any idea how to add my tlspin for my xmpp server?

You use a self signed certificate ?
Did you import it into the cacerts truststore which keeps a collection of trusted ( root ) certficates to make the lib that handles SSL connections aware about your certificate ?

thanks for the answer. yes it’s self signed, but running OH3 on Synology Docker. Need to find out how i can add it there to the trusted certificates … or change to “let’s encrypt” for the xmpp server