grpc-ecosystem / grpc-spring

Spring Boot starter module for gRPC framework.
https://grpc-ecosystem.github.io/grpc-spring/
Apache License 2.0
3.46k stars 811 forks source link

grpcurl调用 nginx ingress 暴露出来的服务成功,但是 starter client 调用失败了 #971

Closed Jamel-jun closed 11 months ago

Jamel-jun commented 11 months ago

我不是很懂 grpc。 我通过 grpcurl -insecure -authority xxx.com xxx.com:443 list 是没有问题的。

这是我的 client 配置。

server: max-connection-age: 60 port: 9090 security: client-auth: none client: GLOBAL: negotiation-type: tls enable-keep-alive: true keep-alive-without-calls: true security: client-auth-enabled: false

xx-services: address: 'dns:///xxx.com:443'

Jamel-jun commented 11 months ago

可以了,解决了,信任服务器的证书就行

Cedric9352 commented 7 months ago

可以了,解决了,信任服务器的证书就行

请教下哪里可以设置信任服务器的证书?

ST-DDT commented 7 months ago

For more information:

https://grpc-ecosystem.github.io/grpc-spring/en/server/security.html#configuring-the-server

You can use

If you have more questions please open a new issue.