500 Error - Adding Personal Certificate verification
Friday, June 18, 2021 at 11:28amHi guys,
We’re using the Silanis.ESL.SDK implementation of your API services and a big part of the services are implemented on PRODUCTION already. Right now, we’re working adding the feature to request Personal Certificates from the Signer. This implementation is giving us some 500 error that give no information about the reason.
Could not create signer verification. Exception: The remote server returned an error: (500) Internal Server Error. HTTP POST on URI https://sandbox.esignlive.com/api/packages/ccCifKLTp1pxvA1ovGmIC6QZWGc=/roles/Signer/verification. Optional details: {"messageKey":"error.internal.default","message":"Unexpected error. We apologize for any inconvenience this may have caused you, please try again. If the problem persists, please contact our support team.","code":500,"name":"Unhandled Server Error"}
Our implementation is as simple as:
SignerVerification personalCertificateSigning = new SignerVerification("personalCertificateSigning");
client.CreateSignerVerification(package, "Signer1", personalCertificateSigning);
Are you able to look into some kind of logs or give us feedback about possible reasons?
Any insight will be really appreciated. Thanks.
Reply to: 500 Error - Adding Personal Certificate verification
Friday, June 18, 2021 at 11:41amHi jcordero,
Thanks for your post! Just had a quick check with support team and seems your account hasn't turned on the "Personal Certificate verification", which I believe is the reason why you are seeing the 500 error. Please kindly send a request to support team ([email protected]) for turning on Personal Certificate verification feature on your account.
Duo
Reply to: Hi jcordero, Thanks for…
Monday, June 21, 2021 at 08:18amHi Duo_Liang,
Thank you for your reply. Yes, I was thinking just the same but I tested with another account and it gave me the same result. After making some changes (using client.CreatePackageOneStep) and trying to play with the RoleId what I'm having now is another response using different accounts:
As no detail is given by the response, it's kind of blind troubleshooting. What would you suggest?
PD: While using the OneSpan UI with these accounts I have no issues using the Personal Certificate feature.
Reply to: 500 Error - Adding Personal Certificate verification
Monday, June 21, 2021 at 09:39amHi jcordero,
If we are talking about this account [email protected], you don't have both "Certificate Signing" or "Personal Certificate Client" on. Could you double check in your UI if the account owner is the same email as your API Key holder?
Duo
Reply to: 500 Error - Adding Personal Certificate verification
Monday, June 21, 2021 at 12:51pmHi Duo_liang,
Yes, you're just right.
We were testing out with either just one of the features for one of the account and the other one not under the owner with both enabled features.
Problem solved, thank you so much!