This article explains how to fix the issue if we are getting the error 'Cannot establish secure connection to the console. Check if your QRadar Certificates are setup properly' while accessing the application.
You will find the error below error from the app.log:
HTTPSConnectionPool(host=’ qradar.example.ibm.com‘, port=443): Max retries exceeded with url: //api/ariel/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",),))
This issue will occur when you install a custom certificate on the Console, but it doesn't add to on App host
To fix the issue, please add the certificate on the App host using the steps below:
cp /<copy from directory> /etc/pki/ca-trust/source/anchors
#update-ca-trust
systemctl restart docker
/opt/qradar/support/recon ps
/opt/qradar/support/recon connect <App-ID>
ls -l /etc/pki/ca-trust/source/anchors/