summaryrefslogtreecommitdiff
path: root/test/fixtures/keys
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2016-12-22 11:04:59 -0800
committerSam Roberts <vieuxtech@gmail.com>2018-11-16 17:00:27 -0800
commitf770106e91f05b278c81bb0b48c2fe8d786ada57 (patch)
treeeb86eaefe435b2d2dcaee87cd02976205882c99d /test/fixtures/keys
parenta56968698d28325c06f1ad0f0390b10ee218244d (diff)
downloadandroid-node-v8-f770106e91f05b278c81bb0b48c2fe8d786ada57.tar.gz
android-node-v8-f770106e91f05b278c81bb0b48c2fe8d786ada57.tar.bz2
android-node-v8-f770106e91f05b278c81bb0b48c2fe8d786ada57.zip
test: rename agent1-pfx.pem to agent1.pfx
PFX is not PEM, its binary DER. Use the same .pfx extension as test/fixtures/test_cert.pfx does. PR-URL: https://github.com/nodejs/node/pull/24374 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'test/fixtures/keys')
-rw-r--r--test/fixtures/keys/Makefile8
-rw-r--r--test/fixtures/keys/agent1.pfx (renamed from test/fixtures/keys/agent1-pfx.pem)bin2445 -> 2445 bytes
-rw-r--r--test/fixtures/keys/ec-pfx.pembin1006 -> 0 bytes
-rw-r--r--test/fixtures/keys/ec.pfxbin0 -> 1006 bytes
4 files changed, 4 insertions, 4 deletions
diff --git a/test/fixtures/keys/Makefile b/test/fixtures/keys/Makefile
index 32e34705bb..c4ac0768e7 100644
--- a/test/fixtures/keys/Makefile
+++ b/test/fixtures/keys/Makefile
@@ -92,13 +92,13 @@ agent1-cert.pem: agent1-csr.pem ca1-cert.pem ca1-key.pem
-CAcreateserial \
-out agent1-cert.pem
-agent1-pfx.pem: agent1-cert.pem agent1-key.pem ca1-cert.pem
+agent1.pfx: 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 \
- -out agent1-pfx.pem \
+ -out agent1.pfx \
-password pass:sample
agent1-verify: agent1-cert.pem ca1-cert.pem
@@ -334,12 +334,12 @@ ec-cert.pem: ec-csr.pem ec-key.pem
-signkey ec-key.pem \
-out ec-cert.pem
-ec-pfx.pem: ec-cert.pem ec-key.pem
+ec.pfx: ec-cert.pem ec-key.pem
openssl pkcs12 -export \
-descert \
-in ec-cert.pem \
-inkey ec-key.pem \
- -out ec-pfx.pem \
+ -out ec.pfx \
-password pass:
dh512.pem:
diff --git a/test/fixtures/keys/agent1-pfx.pem b/test/fixtures/keys/agent1.pfx
index 11893f48ee..11893f48ee 100644
--- a/test/fixtures/keys/agent1-pfx.pem
+++ b/test/fixtures/keys/agent1.pfx
Binary files differ
diff --git a/test/fixtures/keys/ec-pfx.pem b/test/fixtures/keys/ec-pfx.pem
deleted file mode 100644
index f5e76a7611..0000000000
--- a/test/fixtures/keys/ec-pfx.pem
+++ /dev/null
Binary files differ
diff --git a/test/fixtures/keys/ec.pfx b/test/fixtures/keys/ec.pfx
new file mode 100644
index 0000000000..3130860e99
--- /dev/null
+++ b/test/fixtures/keys/ec.pfx
Binary files differ