Git clone from Github Enterprise

AK's Avatar

AK

24 Feb, 2017 08:52 AM

Hi,
we are enabling a code review department we use Rhodecode for Review.
our main repos are stored in a github entprise, actually we cant do a git clone to the repos, becaus we get some SSL malfunction ..

Any Ideas?

KR Andreas

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 24 Feb, 2017 08:57 AM

    Marcin Kuzminski's Avatar

    HI,

    Could you please send the detailed log ?
    Also please check that thread: https://community.rhodecode.com/t/cloning-problem-over-ssl/49/26

    We added few configuration option into the ~/.rccontrol/supervisor/supervisord.ini file to looses strict SSL checking.

  2. 2 Posted by AK on 27 Feb, 2017 10:00 AM

    AK's Avatar

    Hi,
    I attached the server-log file.
    I tried to insert our domain certificate (signed by DigiCert) to insert to the certs. But does not work.

    KR Andreas

  3. Support Staff 3 Posted by Marcin Kuzminsk... on 27 Feb, 2017 10:38 AM

    Marcin Kuzminski's Avatar

    Hi,

    We found exact same problem in our issue tracker, for one of our customer that uses a custom set of certificates.

    In general make sure in ~/.rccontrol/supervisor/supervisord.ini you have set the required env variables. For example on new installation this would be:

    environment = PYTHONPATH="",SSL_CERT_FILE="/home/USER/.rccontrol-profile/etc/ca-bundle.crt",REQUESTS_CA_BUNDLE="/home/USER/.rccontrol-profile/etc/ca-bundle.crt",GIT_SSL_CAINFO="/home/USER/.rccontrol-profile/etc/ca-bundle.crt"

    You said you added the domain certificate into : /home/USER/.rccontrol-profile/etc/ca-bundle.crt

    Please then restart the supervisord by running rccontrol self-stop and then rccontrol start '*'

    P.S. Please consider joining our Slack community channel under https://rhodecode.com/join . Get access to our development team as well as community members always willing to help.

  4. 4 Posted by Karner Andreas ... on 28 Feb, 2017 12:18 PM

    Karner Andreas B1's Avatar

    Hi,
    thank you for this hint, now I it works!
    We imported now several repos to Rhodecode. Absolute great tool!

    Kind regards,
    Andreas

    Von: Marcin Kuzminski [mailto:[email blocked]]
    Gesendet: Montag, 27. Februar 2017 11:38
    An: Karner Andreas B1
    Betreff: Re: Git clone from Github Enterprise [Questions #33329]

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac