Azure / Azure/AzureKeyVault

Import Certificate in Azure Key Vault with Private Key Elliptic Curve Cryptography ERROR: (BadParameter) Unsupported key operation(s): "wrapKey", "unwrapKey". Supported values are "sign", "verify".

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
18
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I am trying to import a PEM certificate with an unencrypted private key generated with ECC.

Azure Key Vault throws the following error: (BadParameter) Unsupported key operation(s): "wrapKey", "unwrapKey". Supported values are "sign", "verify".

My guess is that private Keys of EC type don't have "wrapKey", "unwrapKey" key operations and that is why I can't import certificate with that key... maybe certificate import also requires those key operations??

How Can I go around this?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.