Reloading SSL Certificates Without Restarting the Node
When the SSL certificate on a node is about to expire it must be replaced with a newer one.SSL_ SQL command which enables replacing the SSL certificate without restarting the node.
SSL_RELOAD
This SQL command performs the action on the node where it is executed.
It reads the values of ssl_, ssl_, ssl_ and ssl_ from the config file and tries to initialize new SSL contexts.SUPER privilege and is node local.
When updating the key and certificate, SingleStore recommends giving files new names different from existing rather than overwriting existing key and/or certificate files.
Existing connections are not affected by the reload.
If all SUPER users require SSL to connect and the server certificate expires, the only way to update the key and/or certificate is to restart the node as SSL_ requires the client to connect.
Scenarios that require node restart:
-
ssl_andkey ssl_were not specified before reload and are specified on reload.cert -
ssl_andkey ssl_were specified before reload and are not specified on reload.cert -
ssl_andca ssl_were not specified before reload and are specified on reload.capath -
ssl_and/orca ssl_were specified before reload and none are specified on reload.capath
For information about reloads refer the variables: ssl_ and ssl_
Last modified: July 22, 2024