yats.git

commit 2efe4db5f08f83aa0382a49a4b10459537fd6231

Author: Paolo Lulli <paolo@lulli.net>

Document TLS server/client cert handling

 server/grpc/grpc-tls.go | 3 +++


diff --git a/server/grpc/grpc-tls.go b/server/grpc/grpc-tls.go
index cb9c3c89d331844976a8801adf52c73187e8fa67..4200fb6af0b9c7630865d7d895fc0b76fb54242c 100644
--- a/server/grpc/grpc-tls.go
+++ b/server/grpc/grpc-tls.go
@@ -7,6 +7,9 @@ 	"google.golang.org/grpc/credentials"
 	"google.golang.org/grpc/peer"
 )
 
+// For grpc TLS client implementation, see:
+// https://medium.com/@mertkimyonsen/securing-grpc-connection-with-ssl-tls-certificate-using-go-db3852fe89dd
+
 func GetClientCN(ctx context.Context) string {
 	peers, ok := peer.FromContext(ctx)
 	if ok {