简体   繁体   中英

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

I'm preparing the gRpc clients & services. 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.

So, how can I disable totally the TLS/SSL for the gRpc services, which are generated for the ASP.NET Core? Seems to be, the gRpc templates, which are used for the .NET Core 3 are proposing strictly the TLS/SSL use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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