Skip to content

Cannot clone repository - SSL Cerficate Problem #4738

Closed

Description

Description

When trying to clone a repository of a group project I am working on, I keep getting the error:

SSL certificate problem: self signed certificate in certificate chain

I have Googled this issue and cannot find a solution. A couple of weeks ago, I was able to clone without a problem.

Version

  • GitHub Desktop:
  • Operating system:

Steps to Reproduce

Expected Behavior

Actual Behavior

Additional Information

Logs

Activity

  1. shiftkey commented on May 20, 2018

    @shiftkey
    Member

    @KylaPrograms are you able to fill out the issue template and provide more details about your setup and the remote repository you're trying to clone down?

  2. added
    more-info-needed
    on May 20, 2018
  3. tay-clark commented on May 20, 2018

    @tay-clark

    @shiftkey

    Description

    When attempting to clone an existing (private) repository, I receive an error message stating:

    Cloning into 'G:\DevOps\roleplaycraft'...
    fatal: unable to access 'https://github.com/FaintingHope/roleplaycraft.git/': SSL certificate problem: self signed certificate in certificate chain

    My last successful usage of GitHub Desktop was on May 11, 2018. I have not attempted usage again until tonight.

    Version

    • GitHub Desktop: Version 1.1.1
    • Operating system: Windows 10 Pro 64-bit (Last Feature Update version 1803)

    Steps to Reproduce

    1.) Open GitHub Desktop.
    2.) Select "File", then select "Clone Repository".
    3.) Select desired repository from the "GitHub.com" tab.
    4.) Select your local path for the clone.
    5.) Select "Clone".
    6.) Receive error message.
    7.) Select "Close" to exit error message.

    Expected Behavior

    The repository is cloned to my local path.

    Actual Behavior

    The repository is not cloned and an error message is received.

    Additional Information

    I initially was unable to pull the latest branch from the repository, and so uninstalled/reinstalled before attempting to re-clone.
    The repository I am attempting to use is Private.
    My account has MFA enabled.

    Logs

    2018-05-20T02:16:08.128Z - info: [ui] [AppStore] loading 0 repositories from store
    2018-05-20T02:16:08.129Z - info: [ui] [AppStore] found account: FaintingHope (Taylor)
    2018-05-20T02:16:08.248Z - info: [ui] launching: 1.1.1 (Windows 10.0.17134)
    2018-05-20T02:16:08.248Z - info: [ui] execPath: 'C:\Users\Taylor\AppData\Local\GitHubDesktop\app-1.1.1\GitHubDesktop.exe'
    2018-05-20T02:16:19.609Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/FaintingHope/roleplaycraft.git - FaintingHope (has token)
    2018-05-20T02:16:20.059Z - error: [ui] git -c credential.helper= clone --recursive --progress -- https://github.com/FaintingHope/roleplaycraft.git G:\DevOps\roleplaycraft exited with an unexpected code: 128.
    Cloning into 'G:\DevOps\roleplaycraft'...
    fatal: unable to access 'https://github.com/FaintingHope/roleplaycraft.git/': SSL certificate problem: self signed certificate in certificate chain

  4. steveward commented on May 21, 2018

    @steveward
    Contributor

    Thanks for filling that out @FaintingHope. Are you possibly running any antivirus software (i.e. Kaspersky, NOD32) on your machine? We have seen cases where certain antivirus software can perform SSL filtering and cause issues like this.

  5. tay-clark commented on May 21, 2018

    @tay-clark

    @steveward

    I do have Kaspersky (Total Security) and have had it installed since Day 1 of this PC's lifespan. I have been able to operate GitHub Desktop since installation on June 29, 2017 without issue and without needing to add GitHub Desktop to the exclusion list. Additionally, I have not received any installation updates or changes in the past few days that would have impacted the antivirus software's configuration.

    I feel it is important to note that when I went to recreate the issue today (with the intention of making sure the error still occurs before I added GitHub Desktop to Kaspersky's exclusion list to test if there was a difference), I am now able to clone and pull repositories without issue.

    The only other action I have taken since the reported failure was to restore to Windows 10 version 1709 (due to what appears to be an audio defect).

    I know that I was previously able to successfully use GitHub Desktop in version 1709. I also know that I was never able to successfully use the application in version 1803. I cannot recall if I experienced the issue originally in version 1709 and then updated to 1803 as part of my personal troubleshooting to resolve the error, or if that might have been an unexpected coincidence.

    I will follow-up if I begin to experience this issue again. I'm sorry I am no longer able to recreate it.

  6. steveward commented on May 22, 2018

    @steveward
    Contributor

    @FaintingHope I'm glad to hear things are working for you now. There have been a few other users who have run into this issue with Kaspersky, so my guess is that they may have pushed out an update that caused this SSL error to appear in GitHub Desktop. Let us know if you have any further issues!

  7. locked as resolved and limited conversation to collaborators on Jul 21, 2018
  8. unlocked this conversation on Sep 27, 2018
  9. githubhermit commented on Oct 13, 2018

    @githubhermit

    @steveward Hi, I was looking into the same issue and found this thread. Is there going to be any update coming out soon to compensate the issue of not cloning?

  10. shiftkey commented on Oct 14, 2018

    @shiftkey
    Member

    Is there going to be any update coming out soon to compensate the issue of not cloning?

    @githubhermit You'd have to get in touch with Kaspersky Support, but this suggestion from this comment might help resolve your issue:

    Turning off Web Anti-Virus in Kaspersky did the trick.

  11. patieru12 commented on Oct 17, 2018

    @patieru12

    Fixed by Turning OFF Kaspersky temporary.

  12. githubhermit commented on Oct 27, 2018

    @githubhermit

    Kaspersky blocks SSL 2.0, so if Medusa uses SSL 2.0, it won't work. Medusa also doesn't scan for update or episodes if Encrypted Connection Scan is active.

  13. steveward commented on Nov 7, 2018

    @steveward
    Contributor

    @githubhermit it looks like you may be referring to https://github.com/pymedusa/Medusa. If you are having issues with that project I would recommend opening an issue directly in their issue tracker. If you are still having any issues with GitHub Desktop, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    more-info-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions