Skip to content

Add CACert.org certificate to mingw64/ssl/certs/ca-bundle.crt #425

Closed

Description

@koppor

I am using an SSL certificate created by the CACert.org system. After upgrading from git 1.9.x to 2.5.0 (and 2.5.3), a connection to my server stops with

SSL certificate problem: unable to get local issuer certificate

An ack for the first line of the certificate (MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290) at C:\Program Files\Git reveals multiple files. I know that I can disable SSL verification, but that is not a real solution is it?

Activity

  1. ErwinHamann commented on Sep 22, 2015

    @ErwinHamann

    I'm not sure, but I think you got the same problem I already had.
    Please see at Git for Windows Mailing List -> "15 certificate files at Git program folder needed?"
    https://groups.google.com/forum/#!topic/git-for-windows/mlqn5J4OLlw

    I think, the certificate file you have to handle is found via git config -l

  2. koppor commented on Sep 22, 2015

    @koppor
    Author

    Oh, yes, it really is http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt. And there, the CACert.org certificate is missing. Thus, I propose to add it there, too. (See msysgit/msysgit#37 for the discussion in the context of msysgit)

  3. changed the title [-]SSL certificate problem: unable to get local issuer certificate[/-] [+]Add CACert.org certificate to `mingw64/ssl/certs/ca-bundle.crt`[/+] on Sep 22, 2015
  4. dscho commented on Sep 22, 2015

    @dscho
    Member
  5. dscho commented on Nov 9, 2015

    @dscho
    Member

    Umm... @koppor ... you there?

  6. koppor commented on Nov 10, 2015

    @koppor
    Author

    Yeah, I'm here. Forked git and now searching for ca-bundle.crt, but nothing found. Now trying to understand the build process.

  7. dscho commented on Nov 10, 2015

    @dscho
    Member

    Now trying to understand the build process.

    Most important resource: https://github.com/git-for-windows/git/wiki (about the general setup), followed by https://github.com/git-for-windows/git/wiki/Package-management and then https://github.com/git-for-windows/git/wiki/Making-an-installer.

    For you, https://github.com/git-for-windows/git/wiki/Package-management#list-packages should be particularly interesting.

  8. koppor commented on Jan 23, 2016

    @koppor
    Author

    I didn't find time and it won't look better the next weeks. To reduce the number of open issues, I'll close this one. Maybe someone else will take over. I posted a pointer to this issue it at the @CAcertOrg mailing list.

  9. added a commit that references this issue on Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions