Skip to content

Problem with Jar Signer using Azure Trusted Services #273

Answered by batubudin
batubudin asked this question in Q&A
Discussion options

You must be logged in to vote

The answer:

My steps for achieving non-interactive JAR signing, by using JSign and Azure Trusted Signing:

Things to be considered and a short summary

  • In this project I am running .bat file
  • I will authenticate myself using --service-principle account settings.
  • Then by using the service principle, I will retrieve the Azure Access Token using the Azure CLI commands;
  • And using that and other parameters mentioned, proceed the signing.
Login with Azure CLI
 az login --service-principal -u %AZURE_CLIENT_ID% -p %AZURE_CLIENT_SECRET% --tenant %AZURE_TENANT_ID%
Retrive the Access Token
FOR /F "delims=" %%i IN ('az account get-access-token --resource https://codesigning.azure.net --query accessTo…

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@batubudin
Comment options

@ebourg
Comment options

@batubudin
Comment options

@batubudin
Comment options

Answer selected by batubudin
@ebourg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants