From 7fe719f77f21d538c578f0c06ae5468c4515bd0d Mon Sep 17 00:00:00 2001 From: Adrien Emery Date: Tue, 20 Mar 2018 17:54:19 -0700 Subject: [PATCH] docs: add correct cipher suit to python grpc example --- docs/grpc/python.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/grpc/python.md b/docs/grpc/python.md index 9d2316274..867183349 100644 --- a/docs/grpc/python.md +++ b/docs/grpc/python.md @@ -53,6 +53,11 @@ import rpc_pb2_grpc as lnrpc import grpc import os +# Due to updated ECDSA generated tls.cert we need to let gprc know that +# we need to use that cipher suite otherwise there will be a handhsake +# error when we communicate with the lnd rpc server. +os.environ["GRPC_SSL_CIPHER_SUITES"] = 'HIGH+ECDSA' + # Lnd cert is at ~/.lnd/tls.cert on Linux and # ~/Library/Application Support/Lnd/tls.cert on Mac cert = open(os.path.expanduser('~/.lnd/tls.cert'), 'rb').read()