mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test-tls-server-verify: add ca2 test case
This commit is contained in:
1 parent
13b14300b9
commit
bb46b63e33
1 file changed
+11
@@ -43,6 +43,17 @@ var testCases =
|
||||
]
|
||||
},
|
||||
|
||||
{ title: "Allow only authed connections with CA1 and CA2",
|
||||
requestCert: true,
|
||||
rejectUnauthorized: true,
|
||||
CAs: ['ca1-cert', 'ca2-cert'],
|
||||
clients:
|
||||
[ { name: 'agent1', shouldReject: false, shouldAuth: true },
|
||||
{ name: 'agent2', shouldReject: true },
|
||||
{ name: 'agent3', shouldReject: false, shouldAuth: true },
|
||||
{ name: 'nocert', shouldReject: true }
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user