HTML to PDF not loading images behind HTTPS

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
peterhammer
Posts: 2
Joined: Thu May 14, 2009 9:34 pm

HTML to PDF not loading images behind HTTPS

Post by peterhammer »

Dear all, I have a java program that runs on tomcat and allows the users to transform almost any file to PDF. This is working fine. Even behind HTTPS.

The problem comes when the file to be converted is an HTML with "img" tags inside referencing images behind HTTPS. The PDF is created, but instead of the images there is a white square.

For example:
Code:
<html><img src="https://dzone.webex.com/brand_abwd/3261 ... gif"><html>

That HTML file will not be exported correctly to PDF. Using Writer (File - Open, and then File - Export - PDF) does the same thing.

Is there any way to manually import the certificate so images are downloaded? And to do this in Java?

Any help in this matter is more than welcome.

Thanks in advance.

Best regards,
Peter Hammer.
OOo 3.2.1 on Linux + Windows
gargkapil
Posts: 3
Joined: Sat May 21, 2011 1:45 pm

Re: HTML to PDF not loading images behind HTTPS

Post by gargkapil »

Has anyone found a solution for generating HTML to PDF? Is open office recommended over PD4ML or itext, both of them charge you
OpenOffice 3.1 on Windows Vista
Post Reply