Hi Andreas, Thanks for your reply. I have solved the JSP problem but now the problem is with the validity of the document certification explained later with screen shots . Actually, I am going to use iText in a web application (using Spring-Hibernate frameworks) not in a standalone app. So, eventually the signing code will be placed into the Java Classes of service layer and the pdf will be embedded in a html or jsp page.
http://itext-general.2136553.n4.nabble.com/file/n3311482/Pdf_Output_With_Error.jpg Pdf_Output_With_Error.jpg Fig.-1 I have got the above output as in Fig.1 following the steps bellow. The output says that "The validity of the document certification is UNKNOWN. The author could not be verified." (NOTE: The interface for creating new Client Certificates in IE and Firefox are different. Firefox shows a check box "Show advanced option" whereas IE does not. In IE I could not generate the certificate without CSR but Firefox allows when I uncheck "Show advanced option". ): 1. Created a keystore using my email address for first and last name and leave others blank 2. Created a csr 3. Generated the client certificate with the same email address used in step 1 and CSR in IE 8 4. Imported the certificate in the keystore created at step 1 5. Used the keystore to get the certificate and keypass in signing code 6. Imported Class 1 Root Certificate (DER Format) from https://www.cacert.org/index.php?id=3 the CAcert site in Adobe Reader Please look at the difference between Fig. 1 (output according to your steps) and Fig. 3 (Output according to the steps). But I would like to see the output shown bellow as Fig. 12.5, page-397 of Bruno's iText in Action, 2/E, book as shown below where it says "Certified by Bruno Lowagie <[email protected]>, certificate issued by CA Cert Signing Authority": Fig. -2 http://itext-general.2136553.n4.nabble.com/file/n3311482/Fig._2.jpg Fig._2.jpg How can I get my certificate validated? Thanks. -Zia -- View this message in context: http://itext-general.2136553.n4.nabble.com/Certifying-Digital-Signature-By-CAcert-org-tp3304828p3311482.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
