-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pastey, Let's Encrypt, & NodeJS builtin CAs #11
Comments
Hmm, I think paste.example.org may have just used |
This was an issue with cert configuration on the server in question, and has been resolved. Yay! |
Node doesn't use hardcoded list of certs for a loooong time. Just FYI. |
Thanks! Yeah looks like I misled myself debugging, and it was actually cert chain issue if I recall. Hecking exampleorg admins eh. |
Aw heck. So http://paste.example.org now 301s to https://paste.example.org where SSL is via a Let's Encrypt cert, and Node uses a hardcoded list of certificate authorities. TIL.
I had a tutu with this to support an additional config option to pass in a CA for LE, but it was just going to add a bunch of code and make things more complicated ... and you'd need to do the same workaround for other Node apps anyway. So here's my fix:
You'll want the environment variable set appropriately ... I may not think this fix is sufficient if it means repeating the process on every server I use
pastey
on.(Surely NodeJS isn't broken like this?!)
The text was updated successfully, but these errors were encountered: