Start Node with FIPS-compliant crypto if supported.

Section: Security and Permissions

Enable FIPS mode

bash
bash
node --enable-fips app.js
Explanation

Requires a compatible Node and OpenSSL build.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Security and Permissions
Enable permission model and allow file reads
Run with restricted permissions and controlled file access.
OpenIn sheetbashsame section
Allow writes to a path
Permit writing only to a chosen directory.
OpenIn sheetbashsame section
Allow outbound network access
Permit network access under the permission model.
OpenIn sheetbashsame section
Allow child processes
Permit spawning subprocesses.
OpenIn sheetbashsame section
Disallow eval and string code generation
Block code generation from strings.
OpenIn sheetbashsame section