0

On openshift cluster i deployed gitea v1.9.0 and i added a webhook for triggering the pipeline, now i'm getting the following error:

Delivery: Post https://ip@:8443/apis/build.openshift.io/v1/namespaces/jenkins/buildconfigs/pipeline6/webhooks/somesecret/generic: x509: certificate signed by unknown authority

How can i disable ssl verification in Gitea ? And is there another way to trigger the build in openshift's pipeline ?

BOUKANDOURA Mhamed
  • 941
  • 1
  • 9
  • 25

1 Answers1

0

No, there is no possibility to disable the ssl verification in Gitea AFAIK.

I had the same error by the integration with Jenkins. The problem was that Gitea does not support the "certificate discovery" feature (as for example a browser like Firefox does, see here) and Jenkins was misconfigured and was sending only the end entity certificate.

After making Jenkins to send the entire certificate chain, the problem disappeared.

mrlov
  • 65
  • 7