Company
Date Published
Author
Sanketh Indarapu
Word count
1257
Language
English
Hacker News points
None

Summary

YugabyteDB is a 100% open source, distributed SQL database that accelerates cloud native agility, and encryption in transit is crucial for securing its internal RPC communication protocol. Encryption in transit enables organizations to make network communications cryptographically impossible to snoop or modify, enable clients to identify and verify servers, and vice versa. In YugabyteDB, encryption in transit enables three kinds of client-to-server communication: internal RPC communication between hosts, YCQL database clients, and YSQL database clients. To enable TLS for these internal RPCs, the yb-tserver and yb-master processes specify command-line flags, such as –use_node_to_node_encryption=true and –certs_dir=<path to a directory>. The client verifies server certificates, including CA, hostname/IP, and user ID, while the server verifies client certificates. Customization options allow for fine-grained control over verification and certificate management. YugabyteDB also ships with utilities like yb-admin and yb-ts-cli that require TLS-enabled clusters, and organizations can configure specific ciphers and TLS versions using flags like –ssl_protocols and –cipher_list.