grpc-ecosystem/grpc-gateway

docs: provide example of mutual TLS authentication

Open

#350 创建于 2017年4月5日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Go (16,971 star) (2,250 fork)batch import
documentationhelp wanted

描述

Hi,

is there a way to do mutual TLS authentication between the client and grpc-gateway? I'd like to check if the client's public key is in a list or the certificate is signed by a specific CA and copy the client's name or the certificate's common name to grpc metadata. Sounds like a use case for some middleware, right?

Best, Malte

贡献者指南