diff --git a/wechaty-puppet-service/IO/Github/Wechaty/PuppetService/PuppetService.php b/wechaty-puppet-service/IO/Github/Wechaty/PuppetService/PuppetService.php index 0a9f9c7..d5ede12 100644 --- a/wechaty-puppet-service/IO/Github/Wechaty/PuppetService/PuppetService.php +++ b/wechaty-puppet-service/IO/Github/Wechaty/PuppetService/PuppetService.php @@ -806,7 +806,7 @@ function ($metadata, } else { Logger::DEBUG("start client with tls"); $this->_grpcClient = new \Wechaty\PuppetClient($hostname, [ - 'credentials' => \Grpc\ChannelCredentials::createSsl(WechatyCA::TLS_CA_CERT, WechatyCA::TLS_INSECURE_SERVER_KEY, WechatyCA::TLS_INSECURE_SERVER_CERT), + 'credentials' => \Grpc\ChannelCredentials::createSsl(WechatyCA::TLS_CA_CERT), 'update_metadata' => $updateMetadata, ]); }