Skip to content

No installed provider supports this key: com.azure.security.keyvault.jca.implementation.KeyVaultPrivateKey #6

@ajberry

Description

@ajberry

Trying to sign a jar with a GlobalSign code signing key and getting the following error:

jarsigner: unable to sign jar: java.security.InvalidKeyException: No installed provider supports this key: com.azure.security.keyvault.jca.implementation.KeyVaultPrivateKey

jarsigner -keystore NONE -storetype AzureKeyVault -verbose -storepass "" -tsa http://timestamp.globalsign.com/tsa/r6advanced1 -providerName AzureKeyVault -providerClass com.azure.security.keyvault.jca.KeyVaultJcaProvider -J--module-path="C:\Java_Jar_Signing_26\azure-security-keyvault-jca-2.8.1.jar" -J--add-modules="com.azure.security.keyvault.jca" -J"-Dazure.keyvault.uri=https://my.vault.azure.net/" -J"-Dazure.keyvault.tenant-id=" -J"-Dazure.keyvault.client-id=<>" -J"-Dazure.keyvault.client-secret=" -signedjar "signed.jar" "unsigned.jar" "mycertalias"

is the command being used and it seems to do a bunch of stuff, but i've no more information on what the issue could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions