Bug 4953 - git fails to verify server SSL certificate due to missing root certificates
: git fails to verify server SSL certificate due to missing root certificates
Status: NEW
Product: Development platform
rootstrap
: 5.0-final
: All Linux
: Low normal (vote)
: ---
Assigned To: Janne Johansson
: sdk-rootstrap-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2009-08-20 12:49 UTC by Lucas Maneos
Modified: 2010-04-16 02:06 UTC (History)
5 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Lucas Maneos (reporter) 2009-08-20 12:49:31 UTC
(Copying from bug 4943 as that turned out to be a different issue)

SOFTWARE VERSION:
Fremantle 5.0 beta 2 SDK.

STEPS TO REPRODUCE THE PROBLEM:
1. git clone https://git.maemo.org/projects/modest (or any other project)

EXPECTED OUTCOME:
Successful repository checkout.

ACTUAL OUTCOME:
[sbox-FREMANTLE_X86: ~] > git clone https://git.maemo.org/projects/modest
Initialize modest/.git
Initialized empty Git repository in /home/user/modest/.git/
error: error setting certificate verify locations:
  CAfile: /usr/share/curl/curl-ca-bundle.crt
  CApath: none

warning: remote HEAD refers to nonexistent ref, unable to checkout.

REPRODUCIBILITY:
Always

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:
Workaround:

mkdir /usr/share/curl
ln -s /scratchbox/devkits/git/share/curl/curl-ca-bundle.crt /usr/share/curl/
Comment 1 Andre Klapper maemo.org 2009-08-20 13:17:09 UTC
Don't think that Janne is the best assignee here...
@Tero, do you have an idea who could handle this?
Comment 2 Tero Kojo nokia 2009-08-20 13:21:09 UTC
(In reply to comment #1)
> Don't think that Janne is the best assignee here...
> @Tero, do you have an idea who could handle this?

Yes, let me make a few inquiries down the corridor here and I'll add someone to
the cc.
Comment 3 Jussi Hakala 2009-08-20 13:31:07 UTC
You're using git devkit, at least the workaround would suggest that the git
devkit is at least installed. Could you provide me your target configuration
data just to make sure, ie. do [1] in your current target.

Added myself as cc.

[1] sb-conf sh
Comment 4 Lucas Maneos (reporter) 2009-08-20 13:46:21 UTC
(Changing summary, it's git (the tool) that fails, not git.maemo.org the
server).

(In reply to comment #3)
> You're using git devkit, at least the workaround would suggest that the git
> devkit is at least installed. Could you provide me your target configuration
> data just to make sure

Sure:

[sbox-FREMANTLE_X86: ~] > sb-conf sh
Compiler: cs2007q3-glibc2.5-i486
Devkits: perl debian-etch doctools svn git
CPU-transparency: none

Is there some other git I should be using?  At least apt-cache doesn't show
anything relevant.
Comment 5 Adam Sjøgen 2009-12-19 20:16:24 UTC
It looks like the reason is that the certificate has expired. If you load
https://git.maemo.org/ in Firefox, you get:

  "git.maemo.org uses an invalid security certificate.
   The certificate expired on 16/12/09 00:59.
   (Error code: sec_error_expired_certificate)"
Comment 6 Adam Sjøgen 2009-12-19 20:23:36 UTC
(In reply to comment #5)
> It looks like the reason is that the certificate has expired.

It is, but that's of course a different issue than this. Sorry for the noise.

(I have opened bug 7136 about the expiry issue).
Comment 7 Lucas Maneos (reporter) 2010-04-16 02:06:05 UTC
*** Bug 9935 has been marked as a duplicate of this bug. ***