Jarsigner alias parameter with Azure Trusted Signing #337
Unanswered
cascoli-athena
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Did you manage to sign a .exe file with your Azure Trusted Signing account but using Jsign instead of signtool? At first glance the syntax looks correct, but even if you figure out what is wrong wou'll hit a wall because the Azure root certificate isn't supported by the JDK, so the signature verification of your jar files will fail. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks...I'm new here to the forum so bear with me if i'm not asking the question in the right spot!
I'm trying to setup code signing using jarsigner, jsign#-#.jar and Azure Trusted Signing. I already have ATS working using the std Windows based tools (signtool.exe) so i know code signing works with ATS that way. I've got things setup (pretty much) to use jarsigner along with jsign7-4.jar behind the scenes to digitally sign a jar file.
Cmd I'm using:
jarsigner -tsa "http://timestamp.acs.microsoft.com" -tsadigestalg SHA-256 -sigalg SHA256withRSA -digestalg SHA-256 -J-cp -Jjsign-7.4.jar -J--add-modules -Jjava.sql -providerClass net.jsign.jca.JsignJcaProvider -providerArg "xxx.codesigning.azure.net" -keystore NONE
-storetype TRUSTEDSIGNING -storepass "" -signedjar "signed/mylib.jar" "unsigned/mylib.jar" trustedsigningaccount/accountlogin
I get the following error:
Error: jarsigner: Certificate chain not found for: xxxxxx/yyyyyy. xxxxxxx/yyyyy must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
It's the whole "alias" piece i'm a bit lost on. xxxxxx = ATS code signing acct name and yyyyyy = certificate profile name
I feel like i'm close but just missing the concept behind the alias xxxxxx/yyyyy piece. Any help would be greatly appreciated. Thanks!!!
Beta Was this translation helpful? Give feedback.
All reactions