gajim fails to trust ubuntu prosody SSL certificate
- OS version: ubuntu 22.04
- gajim version: gajim-default-nightly 20221014-1
- GTK Version: 3.24.33
- GLib Version: 2.71.3
- Pango Version: 1.50.6
- PyGObject Version: 3.42.1
- cairo Version: 1.16.0
- pycairo Version: 1.20.1
- python-nbxmpp Version: 3.2.4
Steps to reproduce
apt install prosody prosody-modules
prosodyctl adduser user1@localhost
- in gajim: accounts > add account
- enter login details for "user1@localhost" and click login
- warning appears "Certificate Verification Failed"
- check box "Add to Trusted Certificates"
- click "Log In" button
- window shows "Account has been added successfully"
- in this window, set account name and click on "connect"
- window pops up "SSL Certificate Verification Error", "identified error: the signing certificate authority is not known"
- check box "add this certificate to the list of trusted certificates"
- click connect button
- the same last SSL error window appears again, checking the box "add this certificate to the list of trusted certificates" has no effect, error repeats
The default certs included with the prosody package are links:
- /etc/prosody/certs/localhost.crt -> /etc/ssl/certs/ssl-cert-snakeoil.pem
- /etc/prosody/certs/localhost.key -> /etc/ssl/private/ssl-cert-snakeoil.key