Gajim gives a spurious SSL certificate when Gajim can't find pyasn1

Bug #1379059 reported by Forest
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

 Duck Duck Go, the privacy-focused search engine company, runs an XMPP service at dukgo.com:

https://duck.co/blog/xmpp-services-at-duckduckgo

When connecting, Gajim 0.15.4 shows the following error message:

"Error verifying SSL certificate
There was an error verifying the SSL certificate of your jabber server: The authenticity of the dukgo.com certificate could be invalid.
The certificate does not cover this domain."

Other IM clients (including Pidgin) work just fine with this server, so Gajim is obviously missing something. Perhaps it's failing to look at the certificate's Subject Alt Name?

I was unable to work around the problem by putting the certificate's Common Name (duck.co) into Gajim's Connect Server advanced config. This suggests that Gajim is checking the Common Name against something other than the server name it used to connect. If that is the case, it would be a second bug.

I discovered the problem on ubuntu 14.04 (trusty) amd64.

Revision history for this message
Forest (foresto) wrote :

Turns out that this failure occurs when Gajim can't import the pyasn1 package. So, it looks like the bug could be solved by telling the user the real problem, rather than claiming that the server certificate is bad.

summary: - Gajim gives a spurious SSL certificate error on dukgo.com
+ Gajim gives a spurious SSL certificate when Gajim can't find pyasn1
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gajim (Ubuntu):
status: New → Confirmed
Daniel (wurstsalat3000)
Changed in gajim (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.