keklikhasan wrote
> My problem is when i open the pdf file with adobe i only see one
> certificate,  i can't see other two root certificate. i put link below it
> contains my code, a singe pdf and the certificates i used. can you help
> me?
> 
> https://www.dropbox.com/sh/g8yand5vlt5mxi8/I_mdANaJGC

You seem to have mixed up something. The following certificates are included
in the CMS container in the PDF (non-ASCII characters might be somewhat
mixed up):

1.
Subject: SERIALNUMBER=20000000002,C=TR,CN=GÜNAY DEMİR 
Issuer: CN=Avea Mobil Nitelikli Elektronik Sertifika Hizmet
Saglayicisi,O=Elektronik Bilgi Guvenligi A.S.,C=TR 

2.
Subject: CN=e-Guven Nitelikli Elektronik Sertifika Hizmet
Saglayicisi,O=Elektronik Bilgi Guvenligi A.S.,C=TR 
Issuer: CN=e-Guven Kok Elektronik Sertifika Hizmet Saglayicisi,O=Elektronik
Bilgi Guvenligi A.S.,C=TR 

3.
Subject: CN=Avea Mobil Nitelikli Elektronik Sertifika Hizmet
Saglayicisi,O=Elektronik Bilgi Guvenligi A.S.,C=TR 
Issuer: CN=e-Guven Kok Elektronik Sertifika Hizmet Saglayicisi,O=Elektronik
Bilgi Guvenligi A.S.,C=TR 

Nr. 1 is the signer certificate, nr. 3 is the intermediate CA certificate
which is your "root 1.crt", but nr. 2 simply is yet another CA certificate
based on the same root certificate.

The actual root certificate, "root.cer" in your drop box, is missing.

You might want to check the values of the properties referencing your root
and CA certificates.

(And for clarity's sake, you should change the names of the variables and
files to not call the intermediate CA certificate a root certificate.)

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/problem-including-certificate-chain-in-PDF-tp2534374p4656910.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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

Reply via email to