Running With Encryption
Last updated
Was this helpful?
Last updated
Was this helpful?
It is possible to run the mirror in a mode that causes it to encrypt requests and responses between the private side and the client. In this mode, anyone having access to the public side of the mirror will be unable to tamper with requests/responses or view them. When running in this mode, which is enabled by passing the --mirror-key
argument to the private side of the mirror, only encrypted requests will be processed and only encrypted responses will be returned.
In order to use this mode, follow the following steps.
Ensure that you have NodeJS installed. The minimum supported version is v12.9.0 (node -v
)
Generate a keypair: ./bin/generate-rsa-keypair
. This will generate two files: mirror-client.pem
and mirror-private.pem
.
To run with encryption (tls is optional but recommended), use the following command to start the private service:
To test with encryption, please use the .