8000 test: rename agent1-pfx.pem to agent1.pfx · nodejs/node@2fc9550 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2fc9550

Browse files
sam-githubrvagg
authored andcommitted
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: #24374 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent a3599a5 commit 2fc9550

File tree

7 files changed

+8
-8
lines changed
  • test
    • < 8000 div style="grid-area:spacer;display:flex">
      fixtures/keys
  • parallel
  • 7 files changed

    +8
    -8
    lines changed

    test/fixtures/keys/Makefile

    Lines changed: 4 additions & 4 deletions
    Original file line numberDiff line numberDiff line change
    @@ -92,13 +92,13 @@ agent1-cert.pem: agent1-csr.pem ca1-cert.pem ca1-key.pem
    9292
    -CAcreateserial \
    9393
    -out agent1-cert.pem
    9494

    95-
    agent1-pfx.pem: agent1-cert.pem agent1-key.pem ca1-cert.pem
    95+
    agent1.pfx: agent1-cert.pem agent1-key.pem ca1-cert.pem
    9696
    openssl pkcs12 -export \
    9797
    -descert \
    9898
    -in agent1-cert.pem \
    9999
    -inkey agent1-key.pem \
    100100
    -certfile ca1-cert.pem \
    101-
    -out agent1-pfx.pem \
    101+
    -out agent1.pfx \
    102102
    -password pass:sample
    103103

    104104
    agent1-verify: agent1-cert.pem ca1-cert.pem
    @@ -334,12 +334,12 @@ ec-cert.pem: ec-csr.pem ec-key.pem
    334334
    -signkey ec-key.pem \
    335335
    -out ec-cert.pem
    336336

    337-
    ec-pfx.pem: ec-cert.pem ec-key.pem
    337+
    ec.pfx: ec-cert.pem ec-key.pem
    338338
    openssl pkcs12 -export \
    339339
    -descert \
    340340
    -in ec-cert.pem \
    341341
    -inkey ec-key.pem \
    342-
    -out ec-pfx.pem \
    342+
    -out ec.pfx \
    343343
    -password pass:
    344344

    345345
    dh512.pem:

    test/fixtures/keys/ec-pfx.pem

    -1006 Bytes
    Binary file not shown.

    test/fixtures/keys/ec.pfx

    1006 Bytes
    Binary file not shown.

    test/parallel/test-tls-multi-pfx.js

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -10,10 +10,10 @@ const fixtures = require('../common/fixtures');
    1010
    const options = {
    1111
    pfx: [
    1212
    {
    13-
    buf: fixtures.readKey('agent1-pfx.pem'),
    13+
    buf: fixtures.readKey('agent1.pfx'),
    1414
    passphrase: 'sample'
    1515
    },
    16-
    fixtures.readKey('ec-pfx.pem')
    16+
    fixtures.readKey('ec.pfx')
    1717
    ]
    1818
    };
    1919

    test/parallel/test-tls-ocsp-callback.js

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -35,7 +35,7 @@ const assert = require('assert');
    3535

    3636
    const SSL_OP_NO_TICKET = require('crypto').constants.SSL_OP_NO_TICKET;
    3737

    38-
    const pfx = fixtures.readKey('agent1-pfx.pem');
    38+
    const pfx = fixtures.readKey('agent1.pfx');
    3939

    4040
    function test(testOptions, cb) {
    4141

    test/parallel/test-tls-pfx-authorizationerror.js

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -11,7 +11,7 @@ const fixtures = require('../common/fixtures');
    1111
    const assert = require('assert');
    1212
    const tls = require('tls');
    1313

    14-
    const pfx = fixtures.readKey('agent1-pfx.pem');
    14+
    const pfx = fixtures.readKey('agent1.pfx');
    1515

    1616
    const server = tls
    1717
    .createServer(

    0 commit comments

    Comments
     (0)
    0