Configure Encryption for a Cache
Encryption for a cache can be configured in the following way. Read more about how it works, here:
Using the NCache Management Center
For an existing cache, Encryption can be enabled in the following steps:
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251on Windows and Linux.
In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to which the Encryption will be added. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Security and Encryption in the left bar.
Under Encryption, check the Enable Encryption checkbox to enable encryption.
Select the encryption provider as per your requirement from the given Providers dropdown list.
- Enter the encryption key in the Key text box. This is a 32-character key for a 256-bit encryption algorithm.
Different encryption providers require different key lengths.
- Click on Save Changes to apply this configuration to the cache.
Encryption can be enabled at the time of cache creation.
Configure TLS Encryption in NCache
While NCache offers encryption, simple encryption doesn't guarantee security without performance costs. NCache requires data to travel for out-of-process communication in various ways based on your setup, such as between servers and clients, different servers, caches, and bridges. You can secure specific communication streams with TLS 1.2 if needed, based on vulnerability and network security assurance.