Running With TLS
The GRPC connection between full-service
and validator-service
can optionally be TLS-encrypted. If you wish to use TLS for that, you'll need a certificate file and the matching private key for it. For testing purposes you can generate your own self-signed certificate:
Now, you can run the VS with TLS enabled:
Notice that the
--listen-uri
argument has changed and points to the key and certificate you generated.Once the VS is running, you will need to run
full-service
:The
--validator
argument has changed to point at the certificate file, and also specify the Common Name that is in the certficiate. Note that if the CN matches the hostname (as in the above example) then this is redundant.
Last updated
Was this helpful?