From 7df0fcda3aa0dfd8b6f9ce7c3f8a951188e70dfb Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Fri, 27 May 2016 09:52:51 +0000 Subject: [PATCH] Fixes "Use only HTTPS in OFBiz" - https://issues.apache.org/jira/browse/OFBIZ-6849 Quoting Deepak on dev ML Hi Jacques, I think in fop.xconf file we have to keep http url, as FOP does not support https baseUrl for external graphics due to certificate issue (not remember exact reason). {code} - http://localhost:8080 + https://localhost:8443 {code} If we set the https as than images will not be rendered. Please refer http://demo-trunk-ofbiz.apache.org/ordermgr/control/order.pdf?orderId=DEMO10091 and we get following error on console: {code} [java] 2016-05-27 13:51:48,308 |http-nio-8443-exec-3 |FOUserAgent |E| Image not found. URI: /images/ofbiz_logo.gif. (No context info available) {code} If we set the http url than its working fine. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745732 13f79535-47bb-0310-9956-ffa450edef68 --- framework/webapp/config/fop.xconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/webapp/config/fop.xconf b/framework/webapp/config/fop.xconf index c2ec341c09..477db8a2c7 100644 --- a/framework/webapp/config/fop.xconf +++ b/framework/webapp/config/fop.xconf @@ -31,7 +31,7 @@ the location of this file. - https://localhost:8443 + http://localhost:8080 72