Basic setup for service prototyping in Alchera Inc.
- gRPC Echo with TLS (Self-signed)
- https://github.com/denji/golang-tls
- https://stackoverflow.com/questions/22666163/golang-tls-with-selfsigned-certificate
- https://bbengfort.github.io/programmer/2017/03/03/secure-grpc.html
- https://www.prakharsrivastav.com/posts/from-http-to-https-using-go/
See .travis.yml for entire steps.
$env:GOPATH=Get-Location
export GOPATH=$(pwd)
go get google.golang.org/grpc
go get github.com/golang/protobuf/proto
go get github.com/golang/protobuf/protoc-gen-go
The following scripts requires openssl
tool.
bash ./scripts/openssl_key_gen.sh;
bash ./scripts/openssl_cert_selfsign.sh;
go test -cover -v .