HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › IMG tag with SRC – HTTPS:// › Re: Re: IMG tag with SRC – HTTPS://
“Officially” PD4ML does not support SSL, however it tries to load SSL resources with the standard SSL interfaces of JDK.
Often it works well, but there are some application servers (Weblogic, WebSphere,…), which implement proprietary SSL classes, not derived from the standard ones. If PD4ML is deployed to a such server it fails to load external HTTPS resources (internally it throws ClassCastException).
It it is your case, as a workaround we would recommend to develop a custom SSL resource loader, which consumes the proprietary SSL classes.
Some info about PD4ML custom resource loaders:
pd4ml-html-css-pdf-tips-tricks-f7/a-definition-of-custom-resource-loaders-t40.html
Please contact PD4ML support by email if you need further assistance with the loaders.