Unable to login xmpp client with Ejabberd server *without* allowing self-signed certificates

How can we sign-in without trusting server certificates?

This is the libstrophe flag

`/** @def XMPP_CONN_FLAG_TRUST_TLS

  • Trust server’s certificate even if it is invalid.
    */
    #define XMPP_CONN_FLAG_TRUST_TLS (1UL << 3)`

Steps to Reproduce
I’m using the provided XMPP module (plus changes) and trying to sign in with an Ejabberd server.

The xmpp client fails to sign in UNLESS we enable trusting server certificates which we don’t want.

Issue seems resolved in another case:

[Content removed]

Will follow up on that one.