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

Uploading new PKCS#12 certificate credentials results in a 404

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • credentials-plugin
    • None
    • Credentials Plugin version 1337.v60b_d7b_c7b_c9f
      Jenkins version 2.456 on RHEL8
    • 2.459

      When uploading a credential of kind "Certificate", after selecting the "Certificate" option from the "Kind" dropdown and then clicking the "Upload PKCS#12 certificate" radio button, the Jenkins UI displays an "Oops - Not Found" error. See pkcs12-before-browse.png

      Browsing and selecting a certificate results in an error: "An internal error occurred during form field validation (HTTP 404). Please reload the page and if the problem persists, ask the administrator for help." See pkcs12-after-browse.png

      In the browser inspector, I can see one HTTP POST request with a 404 status code to the URL https://<JENKINS_URL>/manage/credentials/store/system/domain/_/'/descriptorByName/com.cloudbees.plugins.credentials.impl.CertificateCredentialsImpl$UploadedKeyStoreSource/checkUploadedKeystore.

      This issue is a blocker, as it blocks users from adding PKCS#12-type certificates to the credentials store.

        1. run-jenkins.sh
          0.9 kB
        2. plugins.txt
          2 kB
        3. pkcs12-before-browse.png
          pkcs12-before-browse.png
          95 kB
        4. pkcs12-after-browse.png
          pkcs12-after-browse.png
          67 kB

            Unassigned Unassigned
            cdekkers Cas Dekkers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: