Bom dia o tópico é velho mas vou reabrir.
Mudei de servidor para o último Debian -> 9 stretch com scriptcase 9.0.43.
Sem Https gera o pdf, com https não gera.
Já dei permissão 777 no executável do wkhtmltopdf e já baixei uma versão mais atualizada dele.
O erro que acontece é:
/var/www/xxxxxxx/xxxxxxx/_lib/prod/third/wkhtmltopdf/linux-amd64/./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --header-right "[page]"
https://www.xxxxxxxcom.br/_lib/tmp/sc_grid_mariadb_html_4c00g1hapugcbrqotrnam58k46.html /var/www/xxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/_lib/tmp/sc_pdf_20180327052059_934_grid_mariadb.pdf
Loading pages (1/6)
QSslSocket: cannot resolve CRYPTO_num_locks ] 10%
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_library_init
Error: Failed loading page
https://www.xxxxxxx.com.br/_lib/tmp/sc_grid_mariadb_html_4c00g1hapugcbrqotrnam58k46.html (sometimes it will work just to ignore this error with --load-error-handling ignore)
Exit with code 1 due to network error: UnknownNetworkError
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Alguém sabe a solução?
PS: Outras pessoas estão passando por isto:
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3001Parece que o Debian Stretch teve algumas coisas modificadas.
A solução que funcionou para mim foi instalar a libssl1.0-dev
apt-get install libssl1.0-dev
Problema resolvido.