Solution: Enforcing HTTPS in a gRPC Application
Review the solution to securing a gRPC service with HTTPS.
We'll cover the following...
Overview
The setup below has a gRPC service that is only accessible via HTTPS. The gRPC client is using a HTTPS URL to connect to it.
{ "profiles": { "BasicGrpcService": { "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": false, "applicationUrl": "http://127.0.0.1:5100;https://127.0.0.1:7100", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } } } }
Complete solution with HTTPS gRPC communication