From bc9be8a75f0a3a36e1a0f57fa3130645ed319121 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Fri, 18 Aug 2017 14:38:08 +0200 Subject: [PATCH] [JENKINS-37567] - Add option to specify certchain, enforce certificate checks --- pom.xml | 50 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 5a6cfa51a..80b8df24e 100644 --- a/pom.xml +++ b/pom.xml @@ -67,6 +67,8 @@ THE SOFTWARE. UTF-8 UTF-8 false + + 1.4 @@ -274,7 +276,7 @@ THE SOFTWARE. maven-jarsigner-plugin - 1.4 + ${maven-jarsigner-plugin.version} + ${hudson.sign.certchain} sign + verify @@ -568,12 +577,39 @@ THE SOFTWARE. maven-jarsigner-plugin - - - -tsa - http://timestamp.comodoca.com/rfc3161 - - + + + add-tsa + + + + + -tsa + http://timestamp.comodoca.com/rfc3161 + + + + + verify-signature + verify + + verify + + + true + false + true + true + -strict + ${hudson.sign.alias} + ${hudson.sign.storepass} + ${hudson.sign.keystore} + ${hudson.sign.storetype} + ${hudson.sign.providerClass} + ${hudson.sign.providerArg} + + +