Clone from github with selfsigned certificate

Hi,

is anyone aware of a possibility to inject a private rootCA into plugins/git?

I’m currently evaluating drone with github having a certificate signed by a private CA. Currently the builds fail due to the fact that the rootCA is not available during the clone stage.

1 Like

You can override the git clone step by defining one manually. You can then configure skip_verify to true.

Find examples and more information @
https://github.com/drone-plugins/drone-git/blob/master/DOCS.md#config

Thanks, that worked!

I also got the same trouble.
Then I found this topic.
But the link you show is already been dead!
Is http://plugins.drone.io/drone-plugins/drone-git/ the new URL of the document?
And, adding this snippet to .drone.yml fixes the problem, right?

clone:
  git:
    image: plugins/git
    skip_verify: true