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

provide configurator/databound setter for certificate credential (PKCS12 and so on)

      JCasC cannot easily configure UploadedKeyStoreSource as the expected input is a bytes array.
      Users would like to configure the certificate via the same "upload" function that is provided by stapler when configured via JCasC

      https://github.com/jenkinsci/credentials-plugin/blob/bddcf41ba3388cb54126e3f626b3deb7d65e3b53/src/main/java/com/cloudbees/plugins/credentials/impl/CertificateCredentialsImpl.java#L677

       

      Workaround: "cat file.pkcs | base64"

          [JENKINS-57845] provide configurator/databound setter for certificate credential (PKCS12 and so on)

          Joseph Petersen (old) created issue -
          Oleg Nenashev made changes -
          Summary Original: provide configurator/databound setter for certificate credential New: provide configurator/databound setter for certificate credential (PKCS12 and so on)
          Oleg Nenashev made changes -
          Description Original: JCasC cannot easily configure UploadedKeyStoreSource as the expected input is a bytes array.
          Users would like to configure the certificate via the same "upload" function that is provided by stapler when configured via JCasC

          https://github.com/jenkinsci/credentials-plugin/blob/bddcf41ba3388cb54126e3f626b3deb7d65e3b53/src/main/java/com/cloudbees/plugins/credentials/impl/CertificateCredentialsImpl.java#L677
          New: JCasC cannot easily configure UploadedKeyStoreSource as the expected input is a bytes array.
           Users would like to configure the certificate via the same "upload" function that is provided by stapler when configured via JCasC

          [https://github.com/jenkinsci/credentials-plugin/blob/bddcf41ba3388cb54126e3f626b3deb7d65e3b53/src/main/java/com/cloudbees/plugins/credentials/impl/CertificateCredentialsImpl.java#L677]

           

          *Workaround*: "cat file.pkcs | base64"
          Joseph Petersen made changes -
          Assignee New: Joseph Petersen [ jetersen ]
          Joseph Petersen made changes -
          Assignee Original: Joseph Petersen [ jetersen ]

            Unassigned Unassigned
            casz Joseph Petersen (old)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: