grpc-ecosystem/grpc-gateway

docs: provide example of mutual TLS authentication

开放

#350 创建于 2017年4月5日

 (7 条评论) (0 个反应) (0 位负责人)Go (2,250 个派生)batch import
documentationhelp wanted

仓库指标

星标
 (16,971 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南