https://github.com/kbehouse/grpc-go-mtls
https://github.com/kbehouse/grpc-go-mtls
go golang grpc grpc-go mtls mutual-tls
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kbehouse/grpc-go-mtls
- Owner: kbehouse
- Created: 2019-09-04T07:15:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T07:30:32.000Z (about 6 years ago)
- Last Synced: 2025-07-10T13:07:47.409Z (3 months ago)
- Topics: go, golang, grpc, grpc-go, mtls, mutual-tls
- Language: Go
- Size: 18.6 KB
- Stars: 7
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello gRPC with goLang
[gRPC helloworld](https://github.com/kbehouse/gRPC-go-mTLS/tree/master/helloworld) &
[gRPC mTLS (mutual TLS) helloworld](https://github.com/kbehouse/gRPC-go-mTLS/tree/master/helloworld_mTLS)
## Intro
helloworld/ from https://grpc.io/docs/quickstart/go/
helloworld_mTLS/ from
* https://github.com/nicholasjackson/mtls-go-example
* http://krishicks.com/post/2016/11/01/using-grpc-with-mutual-tls-in-golang/## Install
Install protoc
See: http://google.github.io/proto-lens/installing-protoc.html
```
brew install protobuf
```Install protoc-gen-go
See: https://grpc.io/docs/quickstart/go/```
go get -u github.com/golang/protobuf/protoc-gen-go
export PATH=$PATH:$GOPATH/bin
```Init GoMod
```
# if directly use this repo, you don't need it
go mod init kbe.grpctest
```