diff --git a/docs/grpc/python.md b/docs/grpc/python.md index 9d231627..86718334 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()