"Algorithm negotiation fail" when capturing configurations using Spectrum NCM
search cancel

"Algorithm negotiation fail" when capturing configurations using Spectrum NCM

book

Article ID: 367994

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

"Algorithm negotiation fail" error is seen in the events tab after a capture failure.

Specific error: Algorithm negotiation fail:

algorithmName="mac.c2s"

jschProposal="hmac-md5,hmac-md5-96,hmac-sha1,hmac-sha1"

serverProposal="hmac-sha2-256"

Environment

Supported versions of DX NetOps Spectrum

Cause

Mismatch in algorithm between the device and the jsch client in NCM

Resolution

We can update the ciphers and jsch-macs.

In the case of the above error, only the macs need to be updated:

Edit the $SPECROOT/NCM/config.xml file and find:

<jsch-macs type="java.lang.String">hmac-md5,hmac-md5-96,hmac-sha1,hmac-sha1-96</jsch-macs>

Change to:

<jsch-macs type="java.lang.String">hmac-md5,hmac-md5-96,hmac-sha1,hmac-sha1-96,hmac-sha2-256</jsch-macs>

Save the file and kill the ncmservice to restart it automatically.