--- title: "Automatic encryption of data at rest and in transit" slug: "oa-gdpr-automatic-encryption-of-data-at-rest-and-in-transit" updated: 2026-02-05T15:35:26Z published: 2025-07-07T16:57:51Z canonical: "docs.onespan.com/oa-gdpr-automatic-encryption-of-data-at-rest-and-in-transit" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Automatic encryption of data at rest and in transit To comply with GDPR and to ensure that aspects such as security of processing are achieved, personal data must be encrypted, both when at rest and when in transit. For more information about setting up the encryption of data at rest and in transit, see [Data at rest](/sec/docs/oa-gdpr-data-at-rest) and [Data in transit](/sec/docs/oa-gdpr-data-in-transit), or refer to the OneSpan Authentication Server Appliance Administrator Guide and the OneSpan Authentication Server Appliance Administrator Reference. ## Encryption with file-based key management During a installation of OneSpan Authentication Server with the embedded MariaDB ODBC database, data are automatically encrypted by means of file-based key management. The data-at-rest encryption key file and self-signed ODBC SSL certificates, unique for each organization, are automatically generated, and the ODBC connection is encrypted. > The key file and the self-signed ODBC SSL certificates cannot be customized.