I am evaluating Rebex binaries from Rebex Component 2017 R6.3 (Trial). I am using rebex.TerminalEmulation library to establish SSH connection with CISCO codec. The code works when FIPS is Off on my system but does not work when it is ON. The error says the following:
Rebex.Net.SshException: Negotiation failed. The client and the server have no common encryption algorithm.
at Rebex.Net.ATM.Q(CDM N, SshKeyExchangeAlgorithm M, SshHostKeyAlgorithm U, GTM I, GTM Q, ETM L, ETM O)
at Rebex.Net.SshSession.QME(Byte[] N)
at Rebex.Net.SshSession.Negotiate()
at Rebex.Net.Ssh.HZY.QME(UZY N, Boolean M)
at Rebex.Net.Ssh.LK(String N, Int32 M, SshParameters U, UZY I)
--- End of inner exception stack trace ---
at Rebex.Net.Ssh.LK(String N, Int32 M, SshParameters U, UZY I)
at Rebex.Net.Ssh.OC(String N, Int32 M, SshParameters U)
The documentation on FIPS from Rebex website says the following
FIPS 140-2 mode #
Rebex SFTP can operate in a FIPS 140-2 compliant mode. When enabled, only FIPS-approved cryptographic modules from MS CryptoAPI are used. FIPS mode is activated automatically when Windows is running in FIPS mode. To switch on the FIPS mode manually, set
Rebex.Security.Cryptography.CryptoHelper.UseFipsAlgorithmsOnly to true.
I am setting this property to true before establishing the connection but this does not help.
Please help us regarding the same.