Chapter 9: Securing gRPC Endpoints in Your ASP.NET Core Application with SSL/TLS

In this chapter, we will learn how to secure your ASP.NET Core gRPC service application with SSL/TLS certificates. We briefly touched on this topic in Chapter 1, Creating a Basic gRPC Application on ASP.NET Core, where we saw how to use the .NET command-line interface (CLI) to create a self-signed development certificate. We also saw how this allows you to map your hosted application to a port that is accessible via HTTPS.

However, a self-signed development certificate is not something you would want to use in production. In a real-life scenario, you would want to protect your application with a bespoke certificate that has been issued by a recognized certification ...

Get Microservices Communication in .NET Using gRPC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.