Openshift jenkins plugin throwing x509 error

Solution Unverified - Updated -


  • OpenShift Jenkins plugins throwing x509 error

  • However, when we use OpenShift api or oc client, it works fine.

  • Logs from the Jenkins pods contains following messages.

Caught: hudson.AbortException: tag returned an error;
{reference={}, err=Unable to connect to the server: x509: certificate signed by unknown authority
, verb=tag, cmd=oc --server= --certificate-authority=/var/run/secrets/ --namespace=prod-ifttt --token=XXXXX tag itt-ifttt/ifttt-sms:1.0.0 uat-ifttt/ifttt-sms:latest , out=, status=1}


  • Red Hat OpenShift Container Platform (OCP) v3.9

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