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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content