Comment 3 for bug 1031009

Revision history for this message
Akoola (akoola) wrote :

Hi cmezh,

I have found a solution for me, it's working now, can you check if you'v got the same problem.

I see that one of the CA certs in /etc/ssl/certs is corrupted, in my case it was ValiCert_Class_2_VA.crt

updating cetificates databases using update-ca-certificate -f lead to this :

Clearing symlinks in /etc/ssl/certs...done.
Updating certificates in /etc/ssl/certs... W: /usr/share/ca-certificates/mozilla/ValiCert_Class_2_VA.crt not found, but listed in /etc/ca-certificates.conf.

and executing this openssl command :
openssl x509 -in ValiCert_Class_2_VA.pem -noout -text :
Error opening Certificate ValiCert_Class_2_VA.pem
140165203715744:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('ValiCert_Class_2_VA.pem','r')
140165203715744:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
unable to load certificate

when using dbus-monitor like is indicated here : https://one.ubuntu.com/developer/account_admin/auth/ubuntu

dbus messages ubuntuone.CredentialsManagement reply with AuthorizationDenied , so authentification was send to oauth trough https, but the received message indicate AuthorizationDenied instead of having something like certificate error before trying to authenticate.

the UI cannot load image from https:// because of the certificate error I think.

I don't know why the certificates was not or get a corrupted certificates, I scp the CA certificate from my other computers into /usr/share/ca-certificates/mozilla/ and re run update-ca-certificate, and now ubuntone can connect :

u1sdtool -s

State: READY
    connection: With User Not Network
    description: ready to connect
    is_connected: False
    is_error: False
    is_online: False
    queues: WORKING

I check the CA certs because of an error message from gnome-keyring.

hope this can help.

Regards,