Skip to content

Commit

Permalink
add wechaty ca, see #16
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchunsheng committed Nov 24, 2021
1 parent e51c2e1 commit e55a52c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
}
Expand Down

0 comments on commit e55a52c

Please sign in to comment.