Category : tls

Bring in gRPC:TLS certificate authentication Original address:Bring in gRPC:TLS certificate authenticationProject address:https://github.com/EDDYCJY/go … Preface In the previous chapters, we introduced four API usage methods of gRPC. Is it very simple At this time, there is a security problem. In the previous example, gRPC Client/Server was transmitted in clear text. Is there any risk of eavesdropping? ..

Read more

Bring in gRPC: ca-based TLS certificate authentication Original address:Bring in gRPC: ca-based TLS certificate authenticationProject address:https://github.com/EDDYCJY/go … Preface In the previous chapter, we raised a question. How to ensure the reliability and validity of the certificate? How do you make sure your Server and Client certificates are correct? CA In order to ensure the reliability ..

Read more

Into grpc: unamry and streaminterceptor Original address:Into grpc: unamry and streaminterceptorProject address:https://github.com/EDDYCJY/go … Preface I want to do something before or after each RPC method, how? Interceptor, which will be introduced in this chapter, can help you realize these functions in the right place. There are several ways In gRPC, the major classes can be ..

Read more

Bring into gRPC: Make custom authentication for RPC method Original address:Bring into gRPC: Make custom authentication for RPC methodProject address:https://github.com/EDDYCJY/go … Preface In the previous chapter, we introduced two methods (certificate is one) that can be globally authenticated: TLS certificate authentication Ca-based TLS certificate authentication Unary and Stream interceptor However, in actual requirements, RPC methods ..

Read more