2.4. JGroups ENCRYPT Protocol Deprecated


The JGroups ENCRYPT protocol has been deprecated, and should be replaced with either the SYM_ENCRYPT or ASYM_ENCRYPT protocols. Both of these protocols must be placed directly under NAKACK2. Configuration details are provided in the Administration and Configuration Guide; however, example configurations for each protocol are shown below:

Example 2.1. SYM_ENCRYPT Configuration Example

<SYM_ENCRYPT sym_algorithm="AES"
            encrypt_entire_message="true"
            keystore_name="defaultStore.keystore"
            store_password="changeit"
            alias="myKey"/>
Copy to Clipboard Toggle word wrap

Example 2.2. ASYM_ENCRYPT Configuration Example

<ASYM_ENCRYPT encrypt_entire_message="true"
             sym_keylength="128"
             sym_algorithm="AES/ECB/PKCS5Padding"
             asym_keylength="512"
             asym_algorithm="RSA"/>
Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat