Bruno,

you're right. Thanks for the tip. Now everything works fine!

Citando Bruno Lowagie <[EMAIL PROTECTED]>:

otaviofcs wrote:

Hy all, I'm using itext1.2.1 and it seems to me that is a wonderfull
project. The main problem is that i've got some problems while
retrieving images from a https site to put into a PdfPCell in a
PdfPTable. The image URL is fine (i tested) and the whole project,
that is working in https,

I assume you mean that the browser doesn't have any problem doing the
handshake with the server because you accepted a certificate manually
(during the session, forever,...) or the certificate was approved by
a CA. However, when fetching an Image from a JVM machine, the
handshake has to be made between the JVM and the server that serves
the image. The JVM probably doesn't want to accept the certificate
because it doesn't find the corresponding key in its cacerts file.

Take a look at this page: http://itextdocs.lowagie.com/techtips/ssl/
and look for this sentence:
You must add the CAcert.der-certificate or an exported self signed
certificate to this file on your client:
$JAVA_HOME/jre/lib/security/cacerts You can do this using keytool,
the same way as you imported the same file into the .keystore

HTH,
Bruno

------------------------------------------------------------------------------
                  RioPro, Gest�o Inteligente

              55.21.2524.1077 :-: 55.21.2262.6246

                      www.riopro.com.br

A informa��o transmitida destina-se apenas � pessoa ou entidade a quem foi
endere�ada e pode conter informa��o confidencial, legalmente protegida e
para conhecimento exclusivo do destinat�rio. Se o leitor desta advert�ncia
n�o for o seu destinat�rio, fica ciente de que sua leitura, divulga��o,
distribui��o ou c�pia � estritamente proibida. Caso a mensagem tenha sido
recebida por engano,  favor comunicar ao remetente e apagar o texto do
computador.
------------------------------------------------------------------------------


------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to