grpc-ecosystem/grpc-gateway

docs: provide example of mutual TLS authentication

Open

#350 aberto em 5 de abr. de 2017

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)Go (2.250 forks)batch import
documentationhelp wanted

Métricas do repositório

Stars
 (16.971 stars)
Métricas de merge de PR
 (Mesclagem média 8d 23h) (147 fundiu PRs em 30d)

Description

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

Guia do colaborador