简体   繁体   English

.NET Core:如何为服务和客户端之间的 gRpc 通信禁用 TLS/SSL?

[英].NET Core: How to disable TLS/SSL for gRpc communication between service and client?

I'm preparing the gRpc clients & services.我正在准备 gRpc 客户端和服务。 Due the reason I won't publish them as the public services and they're encapsulated even in private networking to their own network segment - I don't need to encrypt the communication between them.由于我不会将它们作为公共服务发布的原因,它们甚至被封装在私有网络中到它们自己的网段——我不需要加密它们之间的通信。

gRpc services are representing the bounded contexts (DDD) and they are united by the GraphQL API similar to the Rejoiner project ( https://rejoiner.io/ ), so the GraphQL API is only exposed to the API gateway ( as the external backend ), which is represented by the external Ingress controller. gRpc services are representing the bounded contexts (DDD) and they are united by the GraphQL API similar to the Rejoiner project ( https://rejoiner.io/ ), so the GraphQL API is only exposed to the API gateway ( as the external backend ),由外部 Ingress controller 表示。

So, how can I disable totally the TLS/SSL for the gRpc services, which are generated for the ASP.NET Core?那么,如何完全禁用为 ASP.NET 核心生成的 gRpc 服务的 TLS/SSL? Seems to be, the gRpc templates, which are used for the .NET Core 3 are proposing strictly the TLS/SSL use.似乎是,用于.NET Core 3的 gRpc 模板严格建议使用 TLS/SSL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM