aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/bin/noproto_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/bin/noproto_server.rb')
-rwxr-xr-xsrc/ruby/bin/noproto_server.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruby/bin/noproto_server.rb b/src/ruby/bin/noproto_server.rb
index 90baaf9a2e..72a5762040 100755
--- a/src/ruby/bin/noproto_server.rb
+++ b/src/ruby/bin/noproto_server.rb
@@ -77,7 +77,8 @@ end
def test_server_creds
certs = load_test_certs
- GRPC::Core::ServerCredentials.new(nil, certs[1], certs[2])
+ GRPC::Core::ServerCredentials.new(
+ nil, [{ private_key: certs[1], cert_chain: certs[2] }], false)
end
def main