PDF Formatting Issue after adding SSL


After adding SSL to our site, we observed that the PDF formatting no longer shows images (including letter head) and all text is aligned to the left! I’ve seen suggestions of setting host_name on the forum but doing this still doesn’t resolve the issue

Any help please?

Kind regards,

Have you tried the suggestions here…

Hi all,

Fixed this by upgrading wkhtmltopdf to the latest version.

$ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.trusty_amd64.deb
$ sudo dpkg -i  wkhtmltox_0.12.5-1.trusty_amd64.deb 
$ sudo apt -f install

In my case, it’s an Ubuntu 16.04 server. Anyone else facing this issue will need to confirm the correct package that should be installed from the wkhtmltopdf repository

There was also a dependency (libpng12-0) which i needed to install. I used the option of updating my sources list as directed on the following page:

@trentmu thanks for responding


1 Like