sslCAInfo only works at top level http config

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 1.8.3
    • Component/s: Git
    • None
    • Environment:

      Windows, Bitbucket standalone. JDK 1.8.0_73

    • Severity 3 - Minor

      When I use

      {{
      [http]
      sslCAInfo = <c:/path/to/FILE.pem>
      }}

      SourceTree works correctly.

      However, if I try to add a specific per-HTTP-server setting like

      git config --global http.bitbucket.sslCAInfo c:/path/to/FILE.pem

      [here, our internal server is named "bitbucket"]

      which results in this in ~/.gitconfig:

      {{
      [http "bitbucket"]
      sslCAInfo = <c:/path/to/FILE.pem>
      }}

      Then,

      1. open Clone Repository
      2. hit the globe to browse for a repo
      3. select one
      4. hit OK
      5. the client throws an error about self-signed cert after Repository Type

      Not a huge deal, but this means the CA info for any other git servers I use has to be added to that pem, instead of it only applying where I want it to apply. Other git tools work fine with the more specific config.

              Assignee:
              Unassigned
              Reporter:
              Dan Fitch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: