aar, aar wrote > I am using itextsharp. When I am using self signed certificate, it is > working fine. But when I use a certificate signed by other person. The > pk12.getCertificateChain(alias) method returns null.
Unless this proves to be a known problem (which does not seem to be the case as nobody stepped forward to say so), this likely has to do either with your very code or PKCS12 file. Thus, please provide both; if the P12 container in question contains non-test data and you, therefore, don't want to supply it, please try to reproduce the issue with test data and provide them. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/GetCertificateChain-alias-is-null-tp4659428p4659438.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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