grpc-ecosystem/grpc-gateway

docs: provide example of mutual TLS authentication

Open

#350 aperta il 5 apr 2017

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)Go (2250 fork)batch import
documentationhelp wanted

Metriche repository

Star
 (16.971 star)
Metriche merge PR
 (Merge medio 8g 23h) (147 PR mergiate in 30 g)

Descrizione

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

Guida contributor