This article describes and issue where the managed host addition fails with the message as below.
Error While adding Managed Host
Cannot connect to the host check password and IP.
The System and License Management shows the below error during the addition of the managed host to the console
The /var/log/qradar.log shows the following errors when the host is being added.
/var/log/qradar.log
The /var/log/secure log file has the following error message while the managed host is being added.
/var/log/secure
Sep 2 02:54:06 x.x.x.x sshd[265296]: error: Received disconnect from x.x.x.x port 39270:3: java.security.InvalidKeyException: java.lang.SecurityException: Signers of 'org.bouncycastle.crypto.params.AsymmetricKeyParameter' do not match signers of other classes in package [preauth] security.provider.12=org.bouncycastle.jce.provider.BouncyCastleProvider
The following steps need to be followed to remove the JAR file conflicts.:
mkdir -pv /store/support
mv -v /opt/qradar/jars/bcprov-jdk15on-1.57.jar /store/support/
systemctl stop hostcontext
systemctl restart tomcat
systemctl start hostcontext
Post this, you can add the managed host successfully to the JSA deployment.
If the issue persists, please contact Juniper support.