Skip to content

GitHub Enterprise - Fatal SSL Cert Error #2514

Closed

Description

@ajski1701

Description:
Version 0.8.0 has a fatal error when connecting to a GitHub enterprise server. Rolling back to a previous version fixes this.

Error:
fatal: unable to access 'https://[GitHub Enterprise address]/[user]/Scripts.git/': SSL certificate problem: self signed certificate in certificate chain
(Redacted identifying information)

Version:
GitHub Desktop version: 0.8.0

OS version:
Windows 7 SP1

Steps to Reproduce:

  1. Try pushing/fetching from a GitHub enterprise server

Reproduces how often: 100%

Thanks!

Activity

  1. added
    bug
    on Aug 21, 2017
  2. iAmWillShepherd commented on Aug 21, 2017

    @iAmWillShepherd
    Contributor

    Thank you for bringing this to our attention. I have applied the bug label and we will address it ASAP.

  3. shiftkey commented on Aug 21, 2017

    @shiftkey
    Member

    @aj1701

    Rolling back to a previous version fixes this.

    Could you tell me which version works for you? This will help to isolate what's changed that's introduced this issue.

  4. added
    more-info-needed
    on Aug 21, 2017
  5. w60001 commented on Aug 22, 2017

    @w60001

    I can confirm that everything worked in the previous version for me and this regression appeared after an auto upgrade this morning.

  6. shiftkey commented on Aug 22, 2017

    @shiftkey
    Member

    We updated Git from v2.13.0 to v2.14.1 as part of the update from 0.7.2 to 0.8.0, but both versions should be using the Windows Certificate Store (SChannel) to validate certificates. I thought our way of packaging Git was still valid, but maybe this release has regressed this.

    It is now possible to switch between Secure Channel and OpenSSL for Git's HTTPS transport by setting the http.sslBackend config variable to "openssl" or "schannel"; This is now also the method used by the installer (rather than copying libcurl-4.dll files around).

    @w60001 @aj1701 could you open the problem repository in Git Shell and run this command:

    $ git config http.sslBackend "schannel"
    

    If this makes fetching/pushing/pulling work then we can set this in the system configuration for our version of Git and get a new update out asap.

  7. self-assigned this
    on Aug 22, 2017
  8. ajski1701 commented on Aug 22, 2017

    @ajski1701
    Author

    @shiftkey 0.7.2 is the most recent version that works for me.

    It also looks like the git command fixed it. The program works as expected in 0.8.0 after running the command in the repository's folder.

  9. RussellAnderson commented on Aug 22, 2017

    @RussellAnderson

    I can also confirm, running the git command @shiftkey mentioned fixed the ssl issue that I encountered after the update.

  10. shiftkey commented on Aug 22, 2017

    @shiftkey
    Member

    @aj1701 @RussellAnderson thanks for confirming the fix - #2520 will go out for the next update and will address this at a system level for everyone.

  11. locked as resolved and limited conversation to collaborators on Jul 21, 2018
  12. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmore-info-needed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions