Digital Certificate/PIV Card authentication
Tuesday, October 6, 2020 at 09:12amHi all,
I'm trying to use digital certificate authentication (with PIV card) for my signers, but I can't figure out how to format this in my JSON. Any ideas?
Hi all,
I'm trying to use digital certificate authentication (with PIV card) for my signers, but I can't figure out how to format this in my JSON. Any ideas?
Reply to: Digital Certificate/PIV Card authentication
Tuesday, October 6, 2020 at 01:55pmHi Luana,
Role Verifications like "Personal Certification" or customized external signer verification methods is not part of the package JSON. In order to configure digital certification authentication, you need an additional API call:
POST /api/packages/{packageId}/roles/{roleId}/verification
With payload
{"typeId":"personalCertificateSigning","payload":""}
You can also refer to the API Specification here.
Duo
Reply to: Hi Luana, Role…
Tuesday, October 6, 2020 at 05:40pmHi Duo. Thanks for your reply. I am getting this error when I try it:
{
"messageKey": "error.forbidden.cannotEditDeletePkg",
"technical": "package: zk5WtsvOfQ2jsoTMlwjRCo44dj0= cannot be edited.",
"message": "Cannot edit or delete package.",
"code": 403,
"name": "Access Denied"
}
Reply to: Digital Certificate/PIV Card authentication
Wednesday, October 7, 2020 at 01:13pmHi Luana,
Just had a quick check with support team, seems your package "zk5WtsvOfQ2jsoTMlwjRCo44dj0=" in US2 sandbox is in status "SENT", in which case you won't be able to edit the package.
Change the status to DRAFT before any edits:
PUT /api/packages/{packageId}
with payload
{"status":"DRAFT"}
Duo
Reply to: Hi Luana, Just had a…
Wednesday, October 7, 2020 at 01:48pmThank you so much @Duo!
Now I am getting a different error:
{
"messageKey": "error.validation.signerVerification.featureDisabled",
"code": 400,
"cause": {
"present": false
},
"message": "A Business validation has failed."
}
Reply to: Digital Certificate/PIV Card authentication
Wednesday, October 7, 2020 at 01:56pmHi Luana,
Seems you haven't turned on the feature on your this account. (The other account with your company domain has been enabled) Kindly submit a support ticket and requesting for that.
Duo
Reply to: Hi Luana, Seems you…
Wednesday, October 7, 2020 at 01:58pmHi Duo. Thank you! That is weird because I am logging in with my work account.
Thanks, I will try to see how can I send this request using the correct account.
Reply to: Hi Luana, Seems you…
Wednesday, October 7, 2020 at 02:11pmEverything worked!
Thank you so much!
Somehow I was connecting to my personal account as you said!
I appreciate all the support!
Thanks!