Download dependencies with go mod tidy && go mod vendor.
Build with go build main.go or run go run main.go from the root of the repository.
The server will serve on 0.0.0.0:50055 by default.
Files tls.key, tls.crt have to be in the same directory as the compiled executable in order to work.
Test the server with:
grpcurl -d '{"name":"krixlion"}' -cacert ./ca.crt localhost:50055 helloworld.Greeter/SayHelloThis should return:
{
"message": "Hello krixlion!"
}A gRPC call goes through and either succeeds or a descriptive error is returned.
Error 14 No connection established is returned with no further messages or logs.
- Set up basic gRPC server with server-side TLS configured using my repo.
- Create a new collection and a gRPC request.
- Prefix the url with
grpcs://e.ggrpcs://localhost:50055. - Add the CA cert in the collection settings.
- Send the request.