Problem with smart card / signature  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

User4455
User
Posts: 56
Joined: Tue Nov 06, 2018 7:59 am

Problem with smart card / signature

Post by User4455 »

Dear Tracker-Team,

I have used a smart card for signing with PDF Xchange Editor before and it worked like a charm.

Now I had to buy a new smart card because the old one expired. The new one is based on a slightly different technology, I believe.

The new card has two certificates using RSA 2cc. One is for signing, one is for some special authorization.

Other programs do recognise the card and the certificate. I have just now sucessfully signed documents with this card with other software.

When trying to sign a document, I do see the two certificates to select in the "sign document"-dialoque. (I tried both, obviously).

When I click OK and select a place to save the resulting file, a windows security dialoque opens, saying:
"The requested operation cannot be performed with the smart card, or a different smart card is required for the operation."
I can click "OK", "Cancel" or "x" then, but the application reopens the same windows security dialogue.
Thus, I get trapped in an infinite loop and have to quit PDF XChange Editor by means of the Task Mananger.

I am aware of this:
viewtopic.php?p=189376&hilit=certificate#p189376
I did try to activate "... using Windows Crypto API", but it did not seem to change anything.

One more thing to note: My other software has been asking me for a "CAN" (beside the PIN), this is a six digit number printed on the card. I did not see any possibility to enter this in PDF XChange or the windows security dialoque, so this might be (part of) the problem.

Thus, I see two issues:
1. Do you see a way to get my card working?
2. infinite loop if card does not work.

Thank you for your kind attention!

Best regards, Sascha
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11731
Joined: Wed Jan 03, 2018 6:52 pm

Re: Problem with smart card / signature

Post by Daniel - PDF-XChange »

Hello, User4455

Thank you for the report, This goes a bit beyond my skillset, so I have escalated this to our Dev team for review, and am just waiting to see what all they may need in this case.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User4455
User
Posts: 56
Joined: Tue Nov 06, 2018 7:59 am

Re: Problem with smart card / signature  SOLVED

Post by User4455 »

Thank you Dan and Ivan for your great support!
The two have helped me directly (i.e. outside of the forum).

I want to share some insights here:

If you have similar problems, what may help you troubleshooting this is the command

certutil -scinfo

You may need elevated rights to do this (i am not sure), so run the command prompt as admin.

The output of the command can tell you if your smartcard is properly registered with the windows api. This is necessary, because PDF XChange Editor is using this windows API. If everything is fine, then you wont see any error messages (but you will be prompted for your PIN).

If a security dialoque opens after running the command and gives you a similar error message as PDF XChange (I had something like "This cannot be done with your card"), then your card may not be properly registered. The terminal-output also tells you many details.

In my understanding, you need a middleware to register your card (at least I needed that). The provider of the card should tell you which middleware is appropriate. With mine, I had the problem that I made a tiny mistake when installing the middleware (picked an incorrect option when installing). So when in a similar situation I would recommend looking for instructions from your card-provider and re-installing the middleware exactly according to the instructions. This it what solved my problem.

Cheers
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11731
Joined: Wed Jan 03, 2018 6:52 pm

Re: Problem with smart card / signature

Post by Daniel - PDF-XChange »

Hello, User4455

Thank you very much for sharing the solution, and your experience with the process. Hopefully this helps someone else along the way! :)

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com