diff --git a/sdk/python3/ccnp/quote/quote_sdk.py b/sdk/python3/ccnp/quote/quote_sdk.py index 7c1f94e4..19a5cc85 100644 --- a/sdk/python3/ccnp/quote/quote_sdk.py +++ b/sdk/python3/ccnp/quote/quote_sdk.py @@ -76,7 +76,8 @@ def request(self, nonce: str, user_data: str) -> Optional[quote_server_pb2.GetQu if self._channel is None: if not os.path.exists(self._server.replace('unix:', '')): raise RuntimeError("Quote server does not start.") - self._channel = grpc.insecure_channel(self._server) + self._channel = grpc.insecure_channel(self._server, + options=[('grpc.default_authority', 'localhost')]) try: grpc.channel_ready_future(self._channel).result(timeout=TIMEOUT) except grpc.FutureTimeoutError as err: