This repo contains example code for different security configurations for grpc-go using advancedtls.
The servers run a basic echo server with the following setups:
The clients are designed to call these servers with varying configurations of credentials and revocation configurations.
# Run the server $ go run server/main.go -credentials_directory $(pwd)/creds # Run the clients from the `grpc-go/examples/features/advancedtls` directory $ go run client/main.go -credentials_directory $(pwd)/creds
Stop the servers with ctrl-c or by killing the process.
The credentials used for these examples were generated by running the examples/features/advancedtls/generate.sh script.
If the credentials need to be re-generated, run ./generate.sh from /path/to/grpc-go/examples/features/advancedtls to re-create the creds directory containing the certificates and CRLs needed for these examples.