JSignPdf -jar not ask password

308 views
Skip to first unread message

pendol...@hotmail.com

unread,
Oct 22, 2014, 12:20:28 AM10/22/14
to jsig...@googlegroups.com
   I have a problem,  in some pc windows 7 with smart card, when they sign a PDF, doesn't ask for password and signed with the first keystore
of
windows-my list, does not obey the orders of JSignPdf, and I don't known to do.

happens in some pcs, and I have to delete the user from the Explorer, the Smart Card and leave the certifying authority to ask for password.

Example from Explorer

rsmith 7Fry...
cert23
certifying authority


-jar "C:\Archivos de programa\JSignPdf\JSignPdf.jar archivo.pdf --out-directory c:\pdf\ -kst WINDOWS-MY -ka cert23 --l2-text Firmado -urx 600 -ury 50 -llx 90 --visible-signature -pg 1 --render-mode SIGNAME_AND_DESCRIPTION --font-size 16 --out-suffix _Firmado -pr
 DISALLOW_PRINTING --quiet

Thanks.


PD: sign with other certificate, not with certificate card.

Josef Cacek

unread,
Oct 22, 2014, 6:40:46 AM10/22/14
to JSignPdf forum
When using smartcards, then better way is to use PKCS#11 than WINDOWS-MY.

Nevertheless, you can try to list key aliases which the JSignPdf is able to see in your keystore:

java -jar JSignPdf.jar -kst WINDOWS-MY -lk

-- josef

--
You received this message because you are subscribed to the Google Groups "JSignPdf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsignpdf+u...@googlegroups.com.
To post to this group, send email to jsig...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsignpdf.
For more options, visit https://groups.google.com/d/optout.

pendol...@hotmail.com

unread,
Oct 22, 2014, 7:25:11 AM10/22/14
to jsig...@googlegroups.com
Thanks!!!, but I use jsingpdf with Dephi 7, the subject, are 300 pcs pdf signing, adding -lk to -jar .. I solve the problem for applying signature smart card and look in the correct keystore alias or advise me directly using PKCS 11, for the issue of PKCS11 support can be used in all Pcs ?. Look everywhere and with Windows-my sometimes does not ask password and locates the first items, I will try adding -lk. As you are very friendly and know much you advise me ?.

pendol...@hotmail.com

unread,
Oct 22, 2014, 3:28:25 PM10/22/14
to jsig...@googlegroups.com
Works fine for now , I think -lk updates the keystore .



-jar  "C:\Archivos de programa\JSignPdf\JSignPdf.jar first.pdf  --out-directory c:\hellow\  -kst  WINDOWS-MY –lk -ka cert23 ' --l2-text……..


Josef Cacek

unread,
Oct 23, 2014, 2:55:28 AM10/23/14
to JSignPdf forum
-lk is a switch which only prints key aliases to console

On Wed, Oct 22, 2014 at 9:28 PM, <pendol...@hotmail.com> wrote:
Works fine for now , I think -lk updates the keystore .



-jar  "C:\Archivos de programa\JSignPdf\JSignPdf.jar first.pdf  --out-directory c:\hellow\  -kst  WINDOWS-MY –lk -ka cert23 ' --l2-text……..


Reply all
Reply to author
Forward
0 new messages