BookmarkSubscribeRSS Feed

Cannot negotiate encryption algorithm

Started ‎09-10-2019 by
Modified ‎09-10-2019 by
Views 4,561

Symptoms

Today I want to talk about communication encryption, especially when you are trying to do a remote signon to SAS/CONNECT server on SAS Viya. If you are trying to do that from SAS 9.X, most likely you will get the following error:

ERROR: A communication subsystem partner link setup request failure has occurred.
ERROR: Cannot negotiate encryption algorithm.

 

Diagnosis

By default, SAS Viya is using SSL for encryption. On the other hand, SAS 9.x is using AES for encryption. That makes encryption settings are incompatible when trying to connect to one another.

Solution

If you want to connect to SAS Viya SAS/CONNECT server, you need to add the following option to your code:

 

options NETENCRALG=SSL;

 

You can also adjust this option in the configuration files. More information about NETENCRYPTALGORITHM (NETENCRALG) is available on this page: Encryption in SAS® 9.4, Sixth Edition -> NETENCRYPTALGORITHM System Option

Version history
Last update:
‎09-10-2019 12:02 PM
Updated by:
Contributors

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags