diff options
author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2016-02-09 10:49:37 +0900 |
---|---|---|
committer | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2016-02-09 13:05:48 +0900 |
commit | dccccbbbe7ee16544a00b6aee71ddba8c1ca9a84 (patch) | |
tree | 97425b2fa9fb6931699e0cfebd8a7f8baf887ab3 /test/fixtures/keys | |
parent | c64d051cf6a17be6b2c08e795c897516b78d4190 (diff) | |
download | node-new-dccccbbbe7ee16544a00b6aee71ddba8c1ca9a84.tar.gz |
test: enable to work pkcs12 test in FIPS mode
The pfx file created by pkcs12 command of openssl causes an error in
FIPS mode because its certificate is encrypted with RC2 by default.
Adding `-descert` option resolves the error.
Fix: https://github.com/nodejs/node/pull/5144
Fix: https://github.com/nodejs/node/pull/5109
PR-URL: https://github.com/nodejs/node/pull/5150
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/fixtures/keys')
-rw-r--r-- | test/fixtures/keys/Makefile | 1 | ||||
-rw-r--r-- | test/fixtures/keys/agent1-pfx.pem | bin | 2437 -> 2437 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/test/fixtures/keys/Makefile b/test/fixtures/keys/Makefile index 1148e529cd..277734aa17 100644 --- a/test/fixtures/keys/Makefile +++ b/test/fixtures/keys/Makefile @@ -81,6 +81,7 @@ agent1-cert.pem: agent1-csr.pem ca1-cert.pem ca1-key.pem agent1-pfx.pem: agent1-cert.pem agent1-key.pem ca1-cert.pem openssl pkcs12 -export \ + -descert \ -in agent1-cert.pem \ -inkey agent1-key.pem \ -certfile ca1-cert.pem \ diff --git a/test/fixtures/keys/agent1-pfx.pem b/test/fixtures/keys/agent1-pfx.pem Binary files differindex a36e746a72..b0395eede9 100644 --- a/test/fixtures/keys/agent1-pfx.pem +++ b/test/fixtures/keys/agent1-pfx.pem |