Announcement

Collapse
No announcement yet.

GIT / OpenSSL on Windows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GIT / OpenSSL on Windows

    Dear sir's We've got a https hosted git repository that I succsessfully can access from my ubuntu box using self signed certificates and kays. To accomplish this I had to rebuild the git (v1.9.1) tools linking against libcurl4-openssl-dev.

    I'm trying to recreate this on a windows platform but discovered quite quickly that the git (v
    1.9.5.msysgit.0 installed from http://git-scm.com/) was lacking the openssl support. any pre-built git executables out there or workarounds?

    Regards,
    Duncan

  • #2
    Following command works fine on ubuntu gives "unable to use client certificate (no key found or wrong pass phrase?) "on Windows

    git pull https://<user>@<git url>

    Comment


    • #3
      We have some git installers for windows at http://wandisco.com/git/download - version 1.9.0 (not the latest, 2.0.0 is available if you wish but I was looking for a 1.9.x to match the two you mention) has libraries for openssl 0.9.8x if that will work?

      Regarding your second post, are you using ssl certificates? If so is the location specified in C:\Program Files (x86)\Git\etc\.gitconfig ? (path assumes a 64 bit windows OS)

      Comment


      • #4
        Thanks, same problem with the 1.9.x install; did not check putty radio, insalled with openssl checked.

        I'm running this from a git repository with the .git/config like this:

        [core]
        repositoryformatversion = 0
        filemode = false
        bare = false
        logallrefupdates = true
        symlinks = false
        ignorecase = true
        hideDotFiles = dotGitOnly

        [http]
        sslCert = C:/work_data/Protectoria/security/duncan.crt
        sslKey = C:/work_data/Protectoria/security/duncan.key
        sslVerify = false
        sslCaInfo = C:/work_data/Protectoria/security/ca.crt

        Only difference from my unix config is the location of the Cert, Key, and Cainfo files.

        Ultimately I'm used to TourtoisGit, so as soon as my git command works I'll start using that gui

        DUncan

        Comment

        Working...
        X