Skip to content

Node fails to start if /etc/ssl is not accessible #62230

@orgads

Description

@orgads

Version

24.14.0

Platform

Linux

Subsystem

No response

What steps will reproduce the bug?

mkdir -pm 750 ssl || chmod 750 ssl
docker run --rm -it -v $PWD/ssl:/etc/ssl -u 999:999 node:24.14.0-alpine3.23 node
node: OpenSSL configuration error:
50B22C3DD67E0000:error:8000000D:system library:BIO_new_file:Permission denied:../deps/openssl/openssl/crypto/bio/bss_file.c:67:calling fopen(/etc/ssl/openssl.cnf, rb)

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

It should ignore this error and continue.

What do you see instead?

It quits immediately with fatal error.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions