Ticket #3232 (closed enhancement: duplicate)
Use system SSL ca-certificates
| Reported by: | anonymous | Owned by: | asterix |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | xmpppy | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| OS: | All | Blocking: |
Description
Since most Linuxdistributions store their ca-certificates in /etc/ssl/certs/ or /usr/share/ca-certificates/, why not implement something like:
for cert in os.listdir("/etc/ssl/certs/"):
if cert[-3:] == "pem" and os.access("/etc/ssl/certs/%s" % cert, os.F_OK):
tcpsock._sslContext.load_verify_locations("/etc/ssl/certs/%s" % cert)
So that SSL connections signed by well-known CAs pass the certificate check.
+ Gajim should show at least an information message when the test fails. I mean, who needs SSL if there is no protection agains mitm ;)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
