Disable Certificate check while cloning

1,031 views
Skip to first unread message

Shafi ulla

unread,
Jun 4, 2014, 11:28:19 AM6/4/14
to go...@googlegroups.com
Hello Team,

Is there a way to disable certification check ?

Am getting below error when i tried to pull a git repo

Repository https://github.com/P-Connolly/Maven.git not found! : Error performing command: --- Command --- git ls-remote https://github.com/P-Connolly/Maven.git --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- ERROR: error: SSL certificate problem, verify that the CA cert is OK. Details: ERROR: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/P-Connolly/Maven.git/info/refs?service=git-upload-pack ERROR: fatal: HTTP request failed ---

Also attaching screenshot in this email.

Regards,
Shafi

Capture.PNG

Ken Mugrage

unread,
Jun 4, 2014, 11:35:58 AM6/4/14
to go...@googlegroups.com

I know this isn't particularly helpful, but "it works for me" on your repo. Very strange.

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ketan Padegaonkar

unread,
Jun 4, 2014, 4:02:42 PM6/4/14
to Shafi ulla, go...@googlegroups.com
Depending on the version of git - you can either set the environment `GIT_SSL_NO_VERIFY=true` or run `git config http.sslVerify "false"` on the agent/server where you see this problem.

It may be time to update the CA certs in your cert store. What OS and git version are you running on?

- Ketan



Shafi ulla

unread,
Jun 4, 2014, 4:13:21 PM6/4/14
to Ketan Padegaonkar, go...@googlegroups.com
OS  is Linux 2.6.18-308.4.1.el5.centos.plus
git version 1.8.2.1

i did

export GIT_SSL_NO_VERIFY=true

I below error i still get.

2014-06-04 15:09:45,441  WARN [84@MessageListener for MaterialUpdateListener] MaterialDatabaseUpdater:117 - [Material Update] Modification check failed for material: URL: https://github.com/P-Connolly/Maven.git, Branch: master
java.lang.RuntimeException: Failed to run git clone command ERROR: error: SSL certificate problem, verify that the CA cert is OK. Details:

ERROR: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/P-Connolly/Maven.git/info/refs?service=git-upload-pack
ERROR: fatal: HTTP request failed
        at com.thoughtworks.go.util.ExceptionUtils.bomb(ExceptionUtils.java:40)
        at com.thoughtworks.go.config.materials.git.GitMaterial.getGit(GitMaterial.java:191)


-Shafi

Ketan Padegaonkar

unread,
Jun 4, 2014, 4:24:04 PM6/4/14
to Shafi ulla, go...@googlegroups.com
Looks like centos 5. Try this perhaps?

- Ketan

Reply all
Reply to author
Forward
0 new messages