Hello Dusan,
thank you for your help.
At the end it was the problem with the intended use. I tested it again, but now I used as signing type "server" for the console and not "serverClient". I also converted the "crt" files to plain pem, because the crt files had extra information.
The TLS connection is now working.
Best regards
Christian Stiefel
------------------------------
Christian Stiefel
------------------------------
Original Message:
Sent: Thu December 24, 2020 10:31 AM
From: Dusan VIDOVIC
Subject: DLC TLS over TCP
In addition to Ralph's comment, check if the certificates are a match for the intended use (we lost some time at one site with a similar error because certificates were valid but not appropriate).
------------------------------
Dusan VIDOVIC
Original Message:
Sent: Wed December 16, 2020 11:27 AM
From: Christian Stiefel
Subject: DLC TLS over TCP
Hello together,
for some tests with the DR App I installed a DLC. If I'm using the UDP connection, the DLC is working, and I can see logs in the console. But if I try to use the TLS connection I'm getting a javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
I'm using version 1.5 of the DLC and QRadar 7.4.1 Fixpack 2 and I configured the DLC with the help of the manual and tried a lot of different certificate signings. At the end I used a private CA with the help of easy-rsa which gave me the best result, because now I have the "Validating certificate chain succeeded". Before easy-rsa the validation failed everytime.
As signing type I used "client" for the DLC and "serverClient" for the console.
Below is the whole exception:
2020-12-16 16:09:41,248 [DLC Sec Event Forward Thread] com.ibm.si.frameworks.nio.network.TLSSocketConnector: [ERROR] [NOT:0000003000][172.25.0.11/- -] [-/- -][ERROR_COULD_NOT_CONNECT:58002] Connection Error. Cannot connect console.dr.lab:32500.javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at com.ibm.jsse2.k.a(k.java:43) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.k.a(k.java:32) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.b(av.java:1055) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.a(av.java:197) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.d(av.java:458) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.j.flush(j.java:29) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.D.a(D.java:43) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.E.c(E.java:74) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.E.a(E.java:499) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.E.a(E.java:154) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.D.s(D.java:286) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.D.a(D.java:251) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.a(av.java:788) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.i(av.java:45) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.a(av.java:637) ~[?:8.0 build_20200611--106] at com.ibm.jsse2.av.startHandshake(av.java:1020) ~[?:8.0 build_20200611--106] at com.ibm.si.frameworks.nio.network.TLSSocketConnector.connect(TLSSocketConnector.java:253) ~[q1labs_core_frameworks.jar:?] at com.ibm.si.frameworks.nio.network.TLSSocketConnector.processMessage(TLSSocketConnector.java:190) ~[q1labs_core_frameworks.jar:?] at com.ibm.si.frameworks.nio.network.TLSSocketConnector.run(TLSSocketConnector.java:90) [q1labs_core_frameworks.jar:?] at java.lang.Thread.run(Thread.java:822) [?:2.9 (09-01-2020)]
Has somebody an idea what I'm doing wrong?
------------------------------
Kind regards
Christian Stiefel
------------------------------