veraison / services

Attestation verification services based on Veraison components
Apache License 2.0
24 stars 13 forks source link

TLS for GRPC #234

Closed setrofim closed 2 months ago

setrofim commented 2 months ago

Implement TLS for GRPC connections between REST frontends and VTS. A number of supporting changes are also made to vts and vtsclient implementations, and to the docker deployment:

Also:

Added a script to (re-)generate all certificates necessary for a Veraison services deployment. The script makes some assumptions about what the deployment looks like (e.g. how the service nodes are named) that is based on the docker deployment, but should be generic enough to be useful for other deployments.

The services certs are signed with a cert named "rootCA.crt" in the same directory as the script (and the certs that will be generated). The script will generate a self-signed rootCA.crt if one isn't provided.

Addresses https://github.com/veraison/services/issues/191