Hello,
In Debian, loudmouth is compiled with GnuTLS support and a hard-coded
root CA certificate file, which is the system file
/etc/ssl/certificates.crt. There is AFAICT no provision to let the
user manually trust a certificate when first seen, or to have a
user-specified directory of trusted cert files (as the SSL_CERT_DIR
environment variable is used in OpenSSL).
The net result is that the official workaround suggested in mcabber's
documentation when using a self-signed certificate is to skip
certificates validation entirely.
Laurent.