# Encryption

## Encryption at Rest

SingleStore is compatible with at-rest disk-based encryption via LUKS (Linux Unified Key Setup). SingleStore is also compatible with other encryption solutions that may have different security characteristics. Please see our [partner integrations documentation](https://docs.singlestore.com/db/v9.1/load-data/integrate-with-singlestore.md) or contact us if you have questions about using SingleStore with other encryption technologies.

To use SingleStore with LUKS, configure your block device to be encrypted with LUKS, and then simply install SingleStore on the encrypted volume.

For more information about how to implement LUKS with different versions of Linux, see the links in the section below. Note that “ecryptfs” should never be used - only volume or block level encryption.

## Example Setup Process

* Prepare block device
* Encrypt block device with LUKS
* Create filesystem (i.e., `mkfs.ext4 /dev/mapper/myencryptedvolume`)
* Mount filesystem (i.e., `mount /dev/mapper/myencryptedvolume /data`)
* Install SingleStore normally to encrypted location using the SingleStore management tools

## How to Use LUKS With Different Versions of Linux

* **Red Hat Enterprise Linux:** For an overview on using LUKS with Red Hat, go [here](https://access.redhat.com/solutions/100463).

  * [Red Hat Enterprise Linux version 5](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/installation_guide/ch29s02) (Linux kernel 2.6.18-8)
  * [Red Hat Enterprise Linux version 6](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/apcs02) (Linux kernel 2.6.32-71)
  * [Red Hat Enterprise Linux version 7](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sec-encryption) (Linux kernel 3.10.0-123)
  * [Red Hat Enterprise Linux version 8](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/system_design_guide/scanning_the_system_for_security_compliance_and_vulnerabilities#encrypting-block-devices-using-luks_system-design-guide) (Linux kernel 4.18.0-193.65.2.el8\_2.x86\_64)
* **SUSE Linux Enterprise Server:**

  * [SUSE version 10](http://www.novell.com/documentation/opensuse103/opensuse103_reference/data/sec_cryptofs_y2.html) (Linux kernel 2.6.16.21-0.8)
  * [SUSE version 11](https://documentation.suse.com/sles/11-SP4/html/SLES-all/cha-security-cryptofs.html) (Linux kernel 2.6.27.19-5.1)
  * [SUSE version 12](https://documentation.suse.com/sles/12-SP4/html/SLES-all/cha-security-cryptofs.html) (Linux kernel 3.12.28-4.6)
* **Ubuntu:** For information about implementing LUKS on Ubuntu, go [here](https://help.ubuntu.com/community/FullDiskEncryptionHowto).
* **openSUSE:** For information about implementing LUKS on openSUSE, go [here](https://en.opensuse.org/SDB:Encrypted_filesystems).

## In this section

* [SSL Secure Connections](https://docs.singlestore.com/db/v9.1/security/encryption/ssl-secure-connections.md)
* [Configuring SSL/TLS FIPS](https://docs.singlestore.com/db/v9.1/security/encryption/configuring-ssl-tls-fips.md)
* [Reloading SSL Certificates Without Restarting the Node](https://docs.singlestore.com/db/v9.1/security/encryption/reloading-ssl-certificates-without-restarting-the-node.md)
* [Securing Data at Rest with IBM Guardium Data Encryption](https://docs.singlestore.com/db/v9.1/security/encryption/securing-data-at-rest-with-ibm-guardium-data-encryption.md)
* [Securing Data at Rest with CipherTrust Transparent Encryption](https://docs.singlestore.com/db/v9.1/security/encryption/securing-data-at-rest-with-ciphertrust-transparent-encryption.md)
* [Troubleshoot OpenSSL 3.0 Connections](https://docs.singlestore.com/db/v9.1/security/encryption/troubleshoot-openssl-3-0-connections.md)

***

Modified at: July 29, 2024

Source: [/db/v9.1/security/encryption/](https://docs.singlestore.com/db/v9.1/security/encryption/)

(An index of the documentation is available at /llms.txt)
