Skip to content

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Aug 9, 2025

NodeJs v24.5.0 uses OpenSSL 3.5.1. The ssl certificate of https-pem is too weak and thus resulting in breaking our ci.

I took the certs from the cpython project. They were generated by @encukou .

You can find the key and cert in the cpython repo.
https://github.com/python/cpython/blob/main/Lib/test/certdata/ssl_cert.pem
https://github.com/python/cpython/blob/main/Lib/test/certdata/ssl_key.pem

I looked into nodejs core repo to find some other keys which could work, but I am not that deep into the ssl certs topic, and well, this keys work?! And I think to get the CI fixed is more important.

@richardlau
is there a key in node core, that we could use?

@Uzlopak Uzlopak force-pushed the fix-node24-ci branch 2 times, most recently from 0927526 to a1dacb1 Compare August 9, 2025 14:13
@Uzlopak Uzlopak changed the title ci: fix node24 ci ci: fix node24 ci, update crypto keys because of openSSL 3.5.1 upgrade in nodejs 24.5.0 Aug 9, 2025
@Uzlopak Uzlopak mentioned this pull request Aug 9, 2025
7 tasks
@himself65
Copy link
Member

Fixes: #4156

Copy link
Member

@himself65 himself65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we probably uninstall https-pem?

@mcollina
Copy link
Member

I prefer generating them, as including the certs will generate additional work here.

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Aug 11, 2025

lets get the ci green again

@Uzlopak Uzlopak closed this Aug 11, 2025
@Uzlopak Uzlopak deleted the fix-node24-ci branch August 11, 2025 06:08
@richardlau
Copy link
Member

@richardlau is there a key in node core, that we could use?

Node.js has https://github.com/nodejs/node/tree/main/test/fixtures/keys which are generated by https://github.com/nodejs/node/blob/main/test/fixtures/keys/Makefile.
There were updates to some of the keys there for OpenSSL 3.2, nodejs/node#54599.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error:0A00018F:SSL routines::ee key too small in tests using modern openssl

6 participants