createPDF SslHandshakeFailedError

Hi,

After a normal year and no changes on the server suddenly I'm getting:

Exit with code 1 due to network error: SslHandshakeFailedError
Error executing wkhtmltopdf! (Exit code: 1)

using parameters:

$GLOBALS['CREATEPDF_CUSTOM_SWITCHES'] = '--disable-smart-shrinking --page-size A3 --orientation Landscape --margin-left 0 --margin-right 0 --margin-top 0 --margin-bottom 0';

Any help would appreciated,
Karls

By ht1080z - September 15, 2022 - edited: September 15, 2022

Hi Daniel,

Thank you for your reply.

Unfortunately I didn't find anything for solution yet.

The server req. is fine, the plugin is working from the back-end for every examples.

The problem is popup when I use URL as attachment.

there is not many related help on the net. I purchased a new ssl cert. (by trying to not use self-signed ssl) but no luck.

How can I get the latest wkhtmltopdf-0.12.6-1.centos7.x86_64 file? On the official website there is only rpm file.

Thanks again,
Karls

Hey Karls,

Sorry to hear you haven't had any luck yet.

I was able to extract this file from the RPM, I believe it should be the wkhtmltopdf binary for CentOS 7: https://interactivetools.com/uploads/wkhtmltox-0.12.6-1.centos7.x86_64

Let me know if that helps!

Thanks,

Daniel
Technical Lead
interactivetools.com