I suppose you interpret something incorrectly from my instruction
What do you get if you simpy try to get the cert with openssl
openssl s_client -connect <YOURSERVERNME>:636
You can simply copy/paste the cert from the output of this command
Also make sure you can reach LDAP port (very basic diag step :))
nc -vv <YOURSERVERADDRESS> 636
L:
------------------------------
Vladx(x)
------------------------------
Original Message:
Sent: Fri October 14, 2022 07:27 AM
From: Siem Admin
Subject: LDAP Auth Certificate
Hi,
I tried the steps and am getting the following error as an output:
verify error:num=20:unable to get local issuer certificate
DONE
Regards
------------------------------
Siem Admin
------------------------------
Original Message:
Sent: Fri October 14, 2022 07:13 AM
From: Vladx(x)
Subject: LDAP Auth Certificate
Yes, we are using also AD, so the procedure below works on that as well. The command I sent should be executed on your console (AIO by your words). The command does not generate anything, it just retrieves the LDAPS cert from your server
L:
------------------------------
Vladx(x)
Original Message:
Sent: Fri October 14, 2022 07:03 AM
From: Siem Admin
Subject: LDAP Auth Certificate
Hi,
First of all we have Active directory not and ldap server.
Secondly, do i have to run this command on the qradar AIO server or LDAP server?
Finally, this command will straight away generate the cert or the snippet is missing from the chat?
Regards,
---------------------
Siem Admin
---------------------
------------------------------
Siem Admin
Original Message:
Sent: Fri October 14, 2022 06:51 AM
From: Vladx(x)
Subject: LDAP Auth Certificate
Hi,
So you need the server cert from the LDAP server configured in auth module and you have to put it here
/opt/qradar/conf/trusted_certificates
To get cert you can use the following snippet
echo -n | openssl s_client -connect <servername>:636 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > <servername>.cert
make sure tp restart tomcat after that systemctl restart tomcat
Also, you should implement some procedure to replace the cert every time when the LDAP server cert is renewed (usually every year)
L:
------------------------------
Vladx(x)