You should contact your CA for specific instruction on how to get a 
certificate. I've bought certificates and all the info is provided in the 
CA's site and the certificate is automatically imported to your browser and 
from there you can export it to a PFX to use in iText. There are more than a 
way to do things but they are not related to iText.

Paulo

----- Original Message ----- 
From: "last first" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 12, 2009 3:16 AM
Subject: [iText-questions] Digitally sign PDF using verisign certificate


We want to sign PDF documents using iText and verisign certificate.
In the iText-in-action book it says the following: (page 522)

keytool -certreq -keystore .keystore -alias foobar -file foobar.csr
Enter keystore password: f00b4r
Enter key password for <foobar>r4b00f

A file foobar.csr is generated. You send this file to your CA, and you 
receive a Privacy
Enhanced Mail (PEM) file. This file contains your public key signed by the 
CA
using the CA’s private key. This public key can be decrypted with the CA’s 
public
key, which comes in the form of a Distinguished Encoding Rules (DER) file.
Import these files into your keystore, and you’ll be able to export a PFX 
file
that can be used to sign your documents.

Does anyone have a step-by-step instructions for importing these files into 
keystore?
How do we export .pfx file from keystore file?
Has any one successfully signed a pdf document using verisign cert as 
described in the book?

FYI - we are using Windows 2003 server and Java 1.5.0_11 to create the csr. 
The code works fine with the self-signed certificate exactly as mentioned in 
the book


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to