We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Html to pdf conversion using webkit failed when accessing https page

Thread ID:





130472 May 15,2017 07:35 AM UTC Jun 21,2018 08:43 AM UTC WPF 5
Tags: PDF
Nicola Tufarelli
Asked On May 15, 2017 07:35 AM UTC

I'm trying to convert some html pages to pdf using the webkit renderer and all works fine if I the page to convert is on http site, but if the url is a https page all I have is a blank Pdf.

Any suggestion?

Prakash Viswanathan [Syncfusion]
Replied On May 15, 2017 10:43 AM UTC

Hi Nicola, 
Thanks for contacting Syncfusion support. 
WebKit HTML converter requires OpenSSL assemblies for converting https sites. So, please make sure the assemblies are available in the machine where the conversion take place.  
1.       You can install the OPENSSL library by downloading its setup from the below link, 
2.       The required OpenSSL assemblies below can be placed in the Windows system folder (for 64-bit machine, it should be place in $Systemdrive\Windows\SysWOW64 and for 32-bit machine, it should be place in $Systemdrive\Windows\System32),  
1.       libeay32.dll 
2.       libssl32.dll 
3.       ssleay32.dll 
If still the blank PDF occurs even at the presence of the OpenSSL assemblies, please provide the input URL, code snippet and environment details such as OS, bit version, culture settings etc., so that it will helpful for us to proceed further. 
Prakash V 

Nicola Tufarelli
Replied On May 19, 2017 12:33 PM UTC

Thanks for your help.
I've tried on a 32 bit client computer, copied the 3 dll in a directory and added this directory to the path. All seems to be ok and a pdf file is created with the content of the https page.

Then I've tried to do the same on a Windows Server 2012 R2:
1. If I don't have the openssl dll a blank pdf is created without errors
2. If I copy the ssl dll to a directory and add it to the path or if I copy the 3 dll to C:\Windows\Syswow64 the program crashes.


Prakash Viswanathan [Syncfusion]
Replied On May 22, 2017 12:19 PM UTC

Hi Nicola, 
We have not faced this issue before (converter crashes due to OpenSSL assemblies) with our WebKit HTML converter. We have tried to reproduce the reported issue in windows server 2012 R2, but it works fine in our end. So, we have created a support incident for further follow up with this issue, please follow the incident created under your profile for further updates. 
Prakash V 

James Lau
Replied On June 21, 2018 07:14 AM UTC

How to install OpenSSL library to  Azure web app environment?

Prakash Viswanathan [Syncfusion]
Replied On June 21, 2018 08:43 AM UTC

Hi James, 

Please refer below steps to include the OPENSSL assemblies to the Azure website. 
  • Create a new folder in a project and copy the below OPENSSL assemblies to that folder from your local machine.
  1. libeay32.dll
  2. libssl32.dll
  3. ssleay32.dll
  • Include that folder in a project and set copy to the output directory as “Copy always” for the OPENSSL assemblies.
  • Get the path of the OPENSSL assemblies folder in C# and set it to the environment variable.

Refer below KB link for converting HTTPS sites to PDF in Azure. 

Prakash V 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon