How to use internal git repositories with Openshift

Solution Verified - Updated -

Issue

  • How to use internal git repositories with Openshift Enterprise 3.
  • Why do we see below error in build logs when using internal git repositories :
E0910 04:08:41.269929       1 git.go:127] fatal: unable to access 'https://xyz.abc.local/abc/bluegreen-PHP.git/': Peer's certificate issuer has been marked as not trusted by the user.
I0910 04:08:41.271306       1 clone.go:29] Git clone failed: exit status 128
  • When using internal git repository below error is seen :
E0910 04:08:41.269929       1 git.go:127] fatal: unable to access 'https://<Repository-name>/bluegreen-PHP.git/': Peer's certificate issuer has been marked as not trusted by the user.
I0910 04:08:41.271306       1 clone.go:29] Git clone failed: exit status 128

Environment

  • Openshift Enterprise
    • 3.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.