luana.fernandes

Digital Certificate/PIV Card authentication

0 votes

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

0 votes

Hi 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

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Hi 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

0 votes

Hi 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

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Thank 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

0 votes

Hi 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

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off