![]() |
Re: Nokia N900 A-GPS Not Working Anymore
I believe he inserted/refreshed a cert in our store and then the cmcli also succeeded, which failed previously (and if I interprete it right, he succeeded in getting supl data from Nokia?). As I played also with a lot of certs/adding/deleting from common-ca and did not succeed at all, I am waiting eagerly for more details ...
|
Re: Nokia N900 A-GPS Not Working Anymore
Well I actually removed one :)
The certificate in question is 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61-1. Not that there is something wrong with that certificate, but it seems maemo certman has a bug. There are 2 verisign root certificates with the same public key: 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61 and 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61-1. certificate chain of supl.nokia.com cert ends up with 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61, but it seems certman tries to use 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61-1 instead. So the verification fails. I didn't debug it, so the actual thing that happens could be a slightly different, however, removing both 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61 and 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61-1 and reimporting 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61 workarounds the problem. seems https://gitorious.org/community-ssu/...c074bfeef6a622 is not enough for multiple-keys-same-public to work on Fremantle. I'll debug the whole mess when I have some free time. Wouldn't try to stop anyone to do the same ofc :) |
Re: Nokia N900 A-GPS Not Working Anymore
1 Attachment(s)
Hmm, I have created a PEM certificate file of the root certificate indicated when connecting to supl.nokia com, also in the zip, is the original crt file.
Code:
root@bt:~# openssl s_client -connect supl.nokia.com:7275 CONNECTED(00000003) |
Re: Nokia N900 A-GPS Not Working Anymore
@nieldk: there is one more certificate on top of the one you bolded, do:
cmcli -s -T common-ca -v supl.nokia.com:7275 (this will save the whole certificate chain as .pem files) and you'll see there are 4 .pems saved, not 3. EDIT: nevermind, seems I misread your post |
Re: Nokia N900 A-GPS Not Working Anymore
YEP!
A THOUSAND THANKS !!! One mistake above: it iks the second one (with the "-1") that needs to be readded. And I needed a reboot to make location library aware. I never thought of removing that one (verisign), actually both and reinstalling only the second one. I fiddled with exactly that cert, but failed miserable due to missing cert experience. Will do now a second reboot for verification. |
Re: Nokia N900 A-GPS Not Working Anymore
@peterleinchen: "the mistake" could be related to the order of the hashes.
EDIT: don't forget to "perl /usr/bin/c_rehash /etc/certs/common-ca" after every change to the certificate store |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
Nevertheless: after the second clearing cache (gconftool/reboot), I got a fix within 5-10 seconds from supl.nokia.com. We ARE back, Nokia! Thank you freemangordon Quote:
WHAT? Never knew/did that. What is this about? It worked for without that rehashing (some kind of aegis here? ;)) --edit Another edit aimed to nieldk What PR version do you have? Is it possibly "only" PR1.3 and not PR1.3.1 (with some cert updates/revocations)? Idk when this problem arised, but could it be due to that one? |
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
|
Re: Nokia N900 A-GPS Not Working Anymore
Quote:
With, KP52 as kernel. |
Re: Nokia N900 A-GPS Not Working Anymore
Wow, I almost can't believe it: Nokia N900 can use supl.nokia.com again!!!
Anyway, I didn't have a file/cert 00d85a4c25c122e58b31ef6dbaf3cc5f29f10d61-1.pem , just the one without the -1 . What was workin for me was (as root): Code:
mkdir /tmp/supl/ ; cd /tmp/supl/ ; cmcli -s -T common-ca -v supl.nokia.com:7275 ; for CERT in `ls -1 *.pem` ; do cmcli -c common-ca -r ${CERT%%.*} ; cmcli -c common-ca -r ${CERT%%.*}-1 ; cmcli -c common-ca -a ${CERT} ; done Code:
cmcli -T common-ca -v supl.nokia.com:7275 Setting location server to supl.nokia.com then gave me the nearby fix within 5 secs. Yey! @freemangordon: Where did you find the -s flag for cmcli ? It is not shown as an option when called without any param. Edit: typo ... |
All times are GMT. The time now is 23:09. |
vBulletin® Version 3.8.8