xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricuzzo <ricu...@gmail.com>
Subject Re: PDF over SSL, images not avaliable.
Date Tue, 02 Sep 2008 21:03:00 GMT

Hi to all, thank you for your responses.

As i mentioned before, there is no problem in getting via https the image
through java in the server outside
the xsl-fo document, so yes, i have verified that i get the image form a
servlet in my weblogic server under https.
So i think Manuel is right, pdf documents cannot simply validate
certificates like browsers do, i ´ve seen some other forums in wich the same
problem exists with pdf´s created with cold fusion (i think not sure), and
their solution, wich makes sense with what Manuel said, was based in getting
the images needed with a relative path, so there is not an https call to get
the images (that is a absolute path), that prevents us from throwing https
requests from a pdf document, that just cannot validate my certicate. 

Well...the fact is that i have static images, but also i need dinamycally
generated images from a servlet, so to get some of the images,  i need to
call the servelt that generates them inside the pdf, that is , using Https
(=absolute path). I have to check about autentification under pdfs, so thank
you for that link !!!!

Ricuzzo wrote:
> Hello.
> I have this problem generating PDF documents dinamically under SSL. I
> finally got to display the document under HTPPS, using some headers in my
> response (pragma 'public' and cache-control ...), but the problem now is
> that images are not displayed, if seems that under https, FOP cannot
> recognize or display my logos and pictures embeded in the document. It is
> not a certificate problem, not an agreement problem, its like fop cannot
> manage or has some kind of problem with retrieving images under
> encription.
> In my xsl-fo, i am invoking the images via example:
> <fo:external-graphic src="https://xxxx./ quaestor/img/LogoMinisterio.jpg"
> content-width="13em"/>
>  Any ideas? any other way to get images? 
>  I really need to get rid of this problem, it is mandatory get this thing
> done as soon as posible in my job.
> ty very much!!!

View this message in context: http://www.nabble.com/PDF-over-SSL%2C-images-not-avaliable.-tp19265631p19278329.html
Sent from the Xml Graphics - General mailing list archive at Nabble.com.

Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org

View raw message