After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712574 - I cannot connect to work account (ucm.es) handled by google
I cannot connect to work account (ucm.es) handled by google
Status: RESOLVED OBSOLETE
Product: gnome-online-accounts
Classification: Core
Component: general
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-11-18 10:57 UTC by Sergio Pascual
Modified: 2015-01-30 10:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of certificate details from Epiphany (38.82 KB, image/png)
2013-11-18 12:07 UTC, Debarshi Ray
Details
Screenshot of the firefox cert manager (113.27 KB, image/png)
2013-11-18 13:11 UTC, Sergio Pascual
Details
Screenshot of seahorse (59.20 KB, image/png)
2013-11-18 13:16 UTC, Sergio Pascual
Details

Description Sergio Pascual 2013-11-18 10:57:55 UTC
When I try to add my work (Universidad Complutense de Madrid, Spain, http://www.ucm.es), account handled by google I get a ssl handshake problem

I'm running Fedora 20, gnome-online-accounts-3.10.2-1.fc20.x86_64

* I click on add account
* Select Google
* I enter my work mail and password on the google sign-on page shown inside the gnome window
* Google identifies the account as being handle by domain ucm.es
* And I endup in an error page with 

Unable to load page

Problem occurred while loading the URL https://sso.ucm.es/simplesaml/saml2/idp/SSOService.php?SAMLRequest=asdkakdsjkasdjkasdjkasdjfrom_loginaslkjskadjkasd

SSL handshake failed

I I copy and paste the URL in firefox I arrive to the sigon page for my institution https://sso.ucm.es/

I would like to know how to debug the problem to see if this is something that needs to be fixed in goa or my institution needs to modify the certificates in the sigon page or if it is something completely different.
Comment 1 Debarshi Ray 2013-11-18 12:07:11 UTC
Created attachment 260101 [details]
Screenshot of certificate details from Epiphany

If I go to https://sso.ucm.es/ in Epiphany and click the broken lock icon, this is what I see. Looks like the certificate is less than perfect.
Comment 2 Sergio Pascual 2013-11-18 13:11:16 UTC
Created attachment 260109 [details]
Screenshot of the firefox cert manager

The certificate is in firefox's certificate manager. It is listed as "software certificate device" instead of "default trust", whatever that means
Comment 3 Sergio Pascual 2013-11-18 13:16:54 UTC
Created attachment 260112 [details]
Screenshot of seahorse

I'm not sure how, but I have imported TERENA SSL CA into seahorse from epiphany. The certs are in "Gnome2 Key Storage", which seems odd. Epiphany is not aware of them, because it still shows "The identity of this website has not been verified"
Comment 4 Sergio Pascual 2013-11-19 10:05:32 UTC
Other URL with less than perfect certificate.

https://koji.fedoraproject.org/koji/

The certificate is signed by Fedora Project CA. The certificate is here https://admin.fedoraproject.org/ca/cacert.pem

If I paste that URL in epiphany I see the ASCII representation of the certificate. There's no clear method of importing the certificate so that epiphany trusts it.

So the problem is not with the certificate of my institution. The same would happen with others.
Comment 5 Sergio Pascual 2013-11-19 10:17:49 UTC
Tried with cacert.org

Certificates http://www.cacert.org/?id=3

It seems that epiphay knows how to import certificates in DER format. The imported certificates go to the "Gnome 2 Key Storage". But later epiphany still shows "The identity of this website has not been verified" icon. 

Do I need to trust the cacert certificate somehow? There is no way of doing it in seahorse.
Comment 6 Sergio Pascual 2013-11-19 10:42:42 UTC
I created a new account in my workstation and tried again.

In seahorse, the Gnome 2 Key Storage has disappeared. I try to import the DER and PEM  certificates, but the Import button is greyed out. A tooltip on that button says "Cannot import because there are not valid importers". End of game.

So, the question remains. Is there a way so that goa (epiphany, gnome) accepts a given CA certificate as valid and trusts it?
Comment 7 Sergio Pascual 2013-11-22 12:29:24 UTC
I have opened this new bug https://bugzilla.gnome.org/show_bug.cgi?id=712719 related to epiphany to using the CA certificate. It may be related
Comment 8 Sergio Pascual 2014-06-27 13:46:11 UTC
I'm seeing this same problem with

gnome-online-accounts-3.13.3-2.fc21.x86_64
Comment 9 Sergio Pascual 2014-09-19 08:38:03 UTC
The problem seems fixed in current (2014-09-19) Fedora Rawhide. 

If I connect to https://sso.ucm.es in Rawhide with epand click in the lock icon I get "identity verified"

If I do the same in Fedora 20, the lock icon has an orange ! sign, "identity not verified"

The online account works also in Fedora Rawhide

gnome-online-accounts-3.13.92
epiphany-3.13.90

As both epiphany and goc are fixed, I imagine that this is related with a change in the cryptography libraries gnome uses



I should check also Fedora 21 Alpha
Comment 10 Sergio Pascual 2014-09-19 08:39:54 UTC
(In reply to comment #9)
> If I connect to https://sso.ucm.es in Rawhide with epand click in the lock icon
> I get "identity verified"

If I connect to https://sso.ucm.es in Rawhide with epiphany and click in the lock icon I get "identity verified"

Sorry, I mistyped "epiphany"
Comment 11 Sergio Pascual 2014-09-19 13:46:12 UTC
I have installed the last RC of Fedora 21 Alpha and it doesn't work, ie

Open https://sso.ucm.es in epiphany, orange ! in the certificate lock, use gnome-online-accounts, error message, Unable to load page

In Fedora Rawhide, everything works, no orange !, I can log ing in my account using gnome-online-accounts

Fedora 21 Alpha

epiphany-3.13.90-1.fc21
gnome-online-accounts-3.13.91-1.fc21
ca-certificates-2014.2.1-1.0.fc21

Fedora Rawhide
epiphany-3.13.91-1.fc22
gnome-online-accounts-3.13.92-1.fc22
ca-certificates-2014.2.1-2.fc21
Comment 12 Sergio Pascual 2014-09-22 13:21:44 UTC
I have updated Fedora 21 Alpha and now it works, versions are

epiphany-3.13.91-1.fc21
gnome-online-accounts-3.13.92-1.fc21
ca-certificates-2014.2.1-1.0.fc21

I wonder where the bug was, anyway
Comment 13 Sergio Pascual 2015-01-30 10:49:14 UTC
As this works in current gnome, I'm closing it. Thank you