diff options
author | murgatroid99 <mlumish@google.com> | 2015-08-19 14:57:19 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2015-08-19 14:57:19 -0700 |
commit | c2fdfcf0cdc47827f0ae4be80e5e2b5c77e0a508 (patch) | |
tree | 0e2ec365630887d7a797a499dc014ebd63d03194 /src/node/interop | |
parent | 89bede02f16905eb48b71710dc4ea2542b3a5ca1 (diff) |
Modified server SSL certs to allow multiple pairs and force_client_auth flag
Diffstat (limited to 'src/node/interop')
-rw-r--r-- | src/node/interop/interop_server.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/interop/interop_server.js b/src/node/interop/interop_server.js index 1242a0f939..09d594d150 100644 --- a/src/node/interop/interop_server.js +++ b/src/node/interop/interop_server.js @@ -169,8 +169,8 @@ function getServer(port, tls) { var key_data = fs.readFileSync(key_path); var pem_data = fs.readFileSync(pem_path); server_creds = grpc.ServerCredentials.createSsl(null, - key_data, - pem_data); + {private_key: key_data, + cert_chain: pem_data}); } else { server_creds = grpc.ServerCredentials.createInsecure(); } |