Hi,
My iText application works fine locally and on our test servers, however
when I deploy it to our production server (https) there is a problem with
images.
On the test server, the code looks like this:
Image image1 = Image.getInstance(new
URL("http://our_test_server.com/images/image1.jpg"));
...and this works absolutely fine. However, before deploying to our
production server, I changed the line to:
Image image1 = Image.getInstance(new
URL("https://our_live_server.com/images/image1.jpg"));
...and I get the following exception:
SSLHandshakeException: No trusted certificate found
If I copy & paste the above https URL into a browser then the image is
displayed.
Any suggestions? Surely I don't need to modify my site's certificate in any
way just because I want iText to display an image on a PDF???
Thanks in advance.
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Problems-with-Images-and-SSL-tp3051935p3051935.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
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