You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to revoke a certificate that was issued using client.auto() using client.revokeCertificate(), but it throws the following error:
Error: JWS verification error
at AcmeApi.apiRequest (node_modules/.pnpm/acme-client@4.2.5/node_modules/acme-client/src/api.js:56:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async AcmeClient.revokeCertificate (node_modules/.pnpm/acme-client@4.2.5/node_modules/acme-client/src/client.js:681:22)
The reproduction code is below (it is a staging certificate, no security issue posting it here):
>> ERROR:
TypeError [ERR_INVALID_OPT_VALUE]: The value "jwk" is invalid for option "format"
at parseKeyFormat (internal/crypto/keys.js:145:9)
at parseKeyFormatAndType (internal/crypto/keys.js:180:18)
at parseKeyEncoding (internal/crypto/keys.js:206:7)
at parsePublicKeyEncoding (internal/crypto/keys.js:242:10)
at PublicKeyObject.export (internal/crypto/keys.js:114:11)
at getJwk (/home/ubuntu/code/certificates/node_modules/acme-client/src/crypto/index.js:157:54)
at Object.exports.createCsr (/home/ubuntu/code/certificates/node_modules/acme-client/src/crypto/index.js:479:17)
I am trying to revoke a certificate that was issued using
client.auto()
usingclient.revokeCertificate()
, but it throws the following error:The reproduction code is below (it is a staging certificate, no security issue posting it here):
What am I doing wrong?
The text was updated successfully, but these errors were encountered: