Deprecated: Hook setted_site_transient is deprecated since version 6.8.0! Use set_site_transient instead. in /home/u763016847/domains/golinuxhub.com/public_html/wp-includes/functions.php on line 6131

Deprecated: Hook setted_site_transient is deprecated since version 6.8.0! Use set_site_transient instead. in /home/u763016847/domains/golinuxhub.com/public_html/wp-includes/functions.php on line 6131

Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /home/u763016847/domains/golinuxhub.com/public_html/wp-includes/functions.php on line 6131
How to Fix "Informational Exchange message must be encrypted" - GoLinuxHub

How to Fix "Informational Exchange message must be encrypted"

This is the error you might get while configuring Openswan. As I received this error when I was configuring openswan to connect my sonicwall vpn.

Error:

#1: Informational Exchange message must be encrypted

Solution:

Make sure you have set these parameters in your Sonicwall 
IKE (Phase 1) Proposal
DH Group: Group 5 (not 2)
Encryption: 3DES
Authentication: SHA1
Life Time: 28800

Ipsec (Phase 2) Proposal
Protocol: ESP
Encryption: 3DES
Authentication: SHA1
Check "Enable Perfect Forward Secrecy"
DH Group: Group 5
Life Time (seconds) 28800
Check these parameters in your linux machine
# vi /etc/ipsec.conf
       auth=esp
       esp=3DES-SHA1            # protocol used for authentication in sonicwall
       ike=3DES-SHA1

To view a screenshot of this page on sonicwall click on the following link

To have a look at all the configuration files and steps follow this page:
openswan configuration in Red Hat linux

Follow the below links for more tutorials