node/test/fixtures/openssl_fips_enabled.cnf
Stefan Budeanu 7c48cb5601 crypto: Improve control of FIPS mode
Default to FIPS off even in FIPS builds.
Add JS API to check and control FIPS mode.
Add command line arguments to force FIPS on/off.
Respect OPENSSL_CONF variable and read the config.
Add testing for new features.

Fixes: https://github.com/nodejs/node/issues/3819
PR-URL: https://github.com/nodejs/node/pull/5181
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
2016-02-25 15:06:41 -05:00

13 lines
285 B
INI

# Skeleton openssl.cnf for testing with FIPS
openssl_conf = openssl_conf_section
authorityKeyIdentifier=keyid:always,issuer:always
[openssl_conf_section]
# Configuration module list
alg_section = evp_sect
[ evp_sect ]
# Set to "yes" to enter FIPS mode if supported
fips_mode = yes