Configure SSL in RisingWave
When running RisingWave frontend node, set the environment variablesRW_SSL_CERT and RW_SSL_KEY to specify the paths of the server-side SSL certificate (typically server.crt) and private key (typically server.key).
Connect to RisingWave using SSL
To connect to RisingWave using SSL, clients can use thepsql command with the following parameters:
Optional: Create a self-signed certificate for testing purposes
While a self-signed certificate is suitable for testing, it is recommended to obtain a certificate from a Certificate Authority (CA) for production environments.
localhost with the desired Common Name (CN).
localhost.crt and localhost.key. You can then set the paths of these files as the values for RW_SSL_CERT and RW_SSL_KEY respectively.