From c0cfd20a0a008fca0d77b96d94eac8d1e0768145 Mon Sep 17 00:00:00 2001 From: zhihaoguo Date: Thu, 21 Nov 2024 10:13:47 +0800 Subject: [PATCH] Update integrate_keyvault_JCA_provider_with_jarsigner_powershell.md --- ...grate_keyvault_JCA_provider_with_jarsigner_powershell.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AzureJavaSDK/JCA/integrate_keyvault_JCA_provider_with_jarsigner_powershell.md b/AzureJavaSDK/JCA/integrate_keyvault_JCA_provider_with_jarsigner_powershell.md index f8c48bc..e3cf343 100644 --- a/AzureJavaSDK/JCA/integrate_keyvault_JCA_provider_with_jarsigner_powershell.md +++ b/AzureJavaSDK/JCA/integrate_keyvault_JCA_provider_with_jarsigner_powershell.md @@ -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}" ` @@ -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}" `