Hi, the credentials-plugin[1] has certificate support, on the GUI side of things you would upload PKCS#12 file with the key and certificate, and on the plugin side you would use the CredentialsProvider to access it. Best to build on the shoulders of giants ;)
zoran [1] https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin On 21 January 2014 20:58, Daniel Anechitoaie <[email protected]> wrote: > Hi, > > I'm writing a jenkins build plugin and the build needs to make some HTTPS > calls but the server requires auth with a certificate and private key. > What would be the best way (from the user's point of view) to allow him to > load a custom keystore from the project configuration page, under my > plugin's section as I haven't seen Jenkins to support file data type and as > the keystore is in binary format i can't create text filed where he can > paste the certificate or something like this. > > Any ideas and help is appreciated. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- Human by day user by night -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
