MutualSSL Authentication issue when used jenkins in standalone mode

3 views
Skip to first unread message

Anuruddha Premalal

unread,
Aug 19, 2015, 6:13:19 AM8/19/15
to Jenkins Developers
Hi Devs,

I'm calling an external https service endpoint from a jenkins plugin I wrote.
Jenkinkins is started using

java -jar jenkins.war --httpPort=-1 --httpsPort=443 --httpsKeyStore=path/to/keystore --httpsKeyStorePassword=keystorePassword

Issue is the rest call I made from the plugin does not include the "javax.servlet.request.X509Certificate" attribute in the request.
This parameter is used by the external service endpoint for authentication.

I found that if we use tomcat to deploy jenkins we can configure "clientAuth=want" in the tomcat connector which cause this attribute to set properly.
Is there a possible way to set this parameter if i use java command to start jenkins? How can I get this attribute set properly? Your help is greatly appreciated

Regards,
Anuruddha.


Reply all
Reply to author
Forward
0 new messages