From dccccbbbe7ee16544a00b6aee71ddba8c1ca9a84 Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Tue, 9 Feb 2016 10:49:37 +0900 Subject: 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 --- test/fixtures/keys/Makefile | 1 + test/fixtures/keys/agent1-pfx.pem | Bin 2437 -> 2437 bytes 2 files changed, 1 insertion(+) (limited to 'test/fixtures/keys') 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 index a36e746a72..b0395eede9 100644 Binary files a/test/fixtures/keys/agent1-pfx.pem and b/test/fixtures/keys/agent1-pfx.pem differ -- cgit v1.2.1