custom-key.pem
, custom-cerf.der
and also keystore.pkcs12
located at /usr/lib/loginsight/application/etc/certs/
are either missing or have empty contents /storage/core/loginsight/var/cassandra.log
is similar to
2025-04-04 14:28:51.749+0000] ["DaemonCommands-thread-45"/##.###.##.## ERROR] [org.apache.thrift.server.TThreadPoolServer] [Thrift Error occurred during processing of message.]
org.apache.thrift.transport.TTransportException: org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)
Caused by: org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)
Caused by: java.security.cert.CertificateException: Unable to construct a valid chain
at org.bouncycastle.jsse.provider.ProvX509TrustManager.validateChain(ProvX509TrustManager.java:313) ~[bctls-fips-1.0.12.3.jar:1.0.12.3]
Caused by: java.security.cert.CertPathBuilderException: TrustAnchor found but certificate validation failed.
at org.bouncycastle.jcajce.provider.PKIXCertPathBuilderSpi.engineBuild(Unknown Source) ~[bc-fips-1.0.2.3.jar:1.0.2.3]
Caused by: java.security.SignatureException: certificate does not verify with supplied key
at org.bouncycastle.jcajce.provider.X509CertificateObject.checkSignature(Unknown Source) ~[bc-fips-1.0.2.3.jar:1.0.2.3]
/storage/core/loginsight/var/runtime.log
is similar to :[2025-04-04 14:41:25.695+0000] ["LogSearchWorker-thread-13"/##.###.##.## ERROR] [org.apache.thrift.server.TThreadPoolServer] [Thrift Error occurred during processing of message.]
org.apache.thrift.transport.TTransportException: org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)
Caused by: org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)
Caused by: java.security.cert.CertificateException: Unable to construct a valid chain
Caused by: java.security.cert.CertPathBuilderException: TrustAnchor found but certificate validation failed.
Caused by: java.security.SignatureException: certificate does not verify with supplied key
Aria Operations 8.18.x
To resolve this issue please perform the steps below:
/usr/lib/loginsight/application/etc/3rd_config
keytool -list -v -keystore /usr/lib/loginsight/application/etc/3rd_config/keystore.XXXXXX
keytool -delete -keystore /usr/lib/loginsight/application/etc/3rd_config/keystore.XXXXXX -alias loginsight
grep keystore-password /storage/core/loginsight/config/loginsight-config.xml*
/usr/lib/loginsight/application/etc/3rd_config
pw=$(grep 'syslog-ssl-keystore-password' $(ls -1 /storage/core/loginsight/config/loginsight-config* | tail -n 1) | cut -d\" -f2)
keytool -importkeystore -srckeystore /usr/lib/loginsight/application/etc/3rd_config/keystore.bcfks -srcstoretype bcfks -providerpath /usr/lib/loginsight/application/lib/lib/bc-fips-*.jar -provider org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider -srcstorepass $pw -deststoretype jks -deststorepass $pw -destkeystore keystore.XXXXXX
systemctl restart loginsight