Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65131

Kubernetes Plugin: No certificate data found

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Secret file (kube config) and Secret text (service account token) both throw a "java.security.cert.CertificateException: No certificate data found" error.

       

      Perhaps trying to read the credential as a certificate.

        Attachments

          Activity

          Hide
          jic5760 Joseph added a comment -

          The error seems to occur even if there is an invalid role binding for the Service Account.
          It works well because it has the correct role binding.

          Show
          jic5760 Joseph added a comment - The error seems to occur even if there is an invalid role binding for the Service Account. It works well because it has the correct role binding.
          Hide
          max_laverse Max Laverse added a comment - - edited

          Hi Joseph!
          I'm glad you managed the solve this issue.
          As a maintainer of kubernetes-credentials-plugin I wanted to underline for future readers, that there is close to no chance a RoleBinding would have cause such a problem. It's highly likely that your problem got solve by something else you did around the Job's configuration, the cluster, or your connectivity

          Show
          max_laverse Max Laverse added a comment - - edited Hi Joseph ! I'm glad you managed the solve this issue. As a maintainer of kubernetes-credentials-plugin I wanted to underline for future readers, that there is close to no chance a RoleBinding would have cause such a problem. It's highly likely that your problem got solve by something else you did around the Job's configuration, the cluster, or your connectivity

            People

            Assignee:
            max_laverse Max Laverse
            Reporter:
            jic5760 Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: