Skip to content

Commit

Permalink
Update integrate_keyvault_JCA_provider_with_jarsigner_powershell.md
Browse files Browse the repository at this point in the history
  • Loading branch information
backwind1233 authored Nov 21, 2024
1 parent d2c5740 commit c0cfd20
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ az role assignment create `
1. If you are using Java8, try to sign the jar using below command
```powershell
jarsigner -keystore NONE -storetype AzureKeyVault `
-signedjar signerjar.jar ${PARAM_YOUR_JAR_FILE_PATH} "${CERT_NAME}" -verbose -storepass '""' `
-signedjar signerjar.jar ${PARAM_YOUR_JAR_FILE_PATH} "${CERT_NAME}" `
-verbose -storepass '""' `
-providerName AzureKeyVault `
-providerClass com.azure.security.keyvault.jca.KeyVaultJcaProvider `
"-J-Dazure.keyvault.uri=${KEYVAULT_URL}" `
Expand All @@ -148,7 +149,8 @@ az role assignment create `
2. If you are using Java9 or higher, try to sign the jar using below command
```powershell
jarsigner -keystore NONE -storetype AzureKeyVault `
-signedjar signerjar.jar ${PARAM_YOUR_JAR_FILE_PATH} "${CERT_NAME}" -verbose -storepass '""' `
-signedjar signerjar.jar ${PARAM_YOUR_JAR_FILE_PATH} "${CERT_NAME}" `
-verbose -storepass '""' `
-providerName AzureKeyVault `
-providerClass com.azure.security.keyvault.jca.KeyVaultJcaProvider `
"-J--module-path=${PARAM_JCA_PROVIDER_JAR_PATH}" `
Expand Down

0 comments on commit c0cfd20

Please sign in to comment.