Insecure gRPC communication between microservices.
There are 3 types of gRPC connections:
The first one is insecure connection, which we’ve been using since the beginning of this course. In this connection, all data transferred between client and server is not encrypted.
- Grpc Server Code example
- Grpc Client Code example
The second type is connection secured by server-side TLS. In this case, all the data is encrypted, but only the server needs to provide its TLS certificate to the client. You can use this type of connection if the server does not care which client is calling its API.
- Grpc Server: Will be soon
- Grpc Client: Will be soon
The third and strongest type is connection secured by mutual TLS. We use it when the server also needs to verify who’s calling its services. So in this case, both client and server must provide their TLS certificates to the other.
- Grpc Server: Will be soon
- Grpc Client: Will be soon
Newer communication technology with high performance.
- Milos Krsmanovic - Software Engineer - Dagli
Take a look at my other projects
- Centralized Microservice Logging with Graylog Graylog with Spring
- GRPC Communication between Microservices Grpc Server - Grpc Client