-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html-pdf fails with Debian 10 due to new version of OpenSSL #531
Comments
More info: it seems all the problem is in this line. Commenting it makes the error go away:
|
Same issue for me when migrating on Debian10. |
Thank you ! |
Thank you, saved my day ! |
Hi, I have this same issue running on this environment : os : Ubuntu 18.04.3 LTS but I don't have this line inside /etc/ssl/openssl.cnf file
|
Same problem here. cp /etc/ssl/openssl.cnf /tmp/html-pdf-openssl.cnf
sed -i '/openssl_conf/d' /tmp/html-pdf-openssl.cnf
OPENSSL_CONF=/tmp/html-pdf-openssl.cnf html-pdf test/businesscard.html businesscard.pdf |
Any news on this ? I don't want to override my OPENSSL_CONF |
This issue persists on Ubuntu 21.04 and like the other person mentioned...
...does not exist. |
Two years later, the problem persists in Debian 11. Exact same error. Is this package being maintained? |
The issue still persists. Any drop-in replacement available for html-pdf ? |
I guess we need to move on from this lib to another solution to generate PDF. Any thought? Do you know a better approach to tackle this issue - Generating pdf from html in NodeJS - with less pain @cypx @DigitalLeaves @pigeonvictor @Franckapik @jscul I am even thinking about using other languages to do that for me. Thanks. |
Solution without devOps
|
This worked for me! |
Hey, are there any side effects using this option? |
After upgrading to Debian 10, html-pdf stopped working. That's because phantomjs, used by html-pdf fails when parsing /etc/ssl/openssl.cnf
This is the error when trying to run the example test that will generate the businesscard.pdf:
Setting that config file to an empty file solves the problem, but this is obviously not a long-term solution:
The default /etc/ssl/openssl.cnf file with debian 10 is:
The text was updated successfully, but these errors were encountered: