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
Anuruddha.