Skip to content

node --force-fips does not work. Error openssl FIPS not a shared library. #6

Description

@Lomilar

Adding the following line to the Dockerfile:

node --force-fips

causes error:

 > [30/32] RUN node --force-fips:
0.660 node: OpenSSL error when trying to enable FIPS:
0.660 40920A7A3B7F0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:../deps/openssl/openssl/crypto/dso/dso_dlfcn.c:118:filename(/home/node/node-v22.19.0/out/$(BUILDTYPE)/obj.target/deps/openssl/lib/openssl-modules/fips.so): Error loading shared library /home/node/node-v22.19.0/out/$(BUILDTYPE)/obj.target/deps/openssl/lib/openssl-modules/fips.so: No such file or directory

I'm interested in finding a solution, as I have a working node FIPS install based on node:24-slim -- Debian -- but would like to pursue alpine for security purposes.

For reference, that Dockerfile can be found here: https://github.com/cassproject/CASS/blob/master/docker/standalone/node/Dockerfile

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