You must have a Snowflake account to collect information from tables or views that
contain event data logs from several database to configure JDBC protocol with your IBM
QRadar Console.
About this task
Generate a private and public RSA key pair for Key-Pair Authentication assertion.
Tip: If you are a QRadar on Cloud user and the target collector is either Console or Events
Processor, you must open a case and upload the private key (in DER format). The private key is added
to the /opt/qradar/conf/trusted_certificates/jdbc directory.
Procedure
-
Log in to QRadar box that
has an openssl command.
-
Save a copy of the public key. The contents of the public key must be pasted into the
corresponding Snowflake user configuration.
-
Convert the private key to DER format by typing the following command on one line:
openssl pkcs8 -topk8 -inform PEM -outform DER -in jdbc_private_key.pem -out
jdbc_private_key.der -nocrypt
Note: The file should be protected from unauthorized access by using the file permission mechanism
that is provided by your operating system. Ensure that the file has appropriate permissions so that
QRadar can read it
-
Store the private key on your managed host in QRadar.
- Create a directory called jdbc in the
/opt/qradar/conf/trusted_certificates/ directory in QRadar.
- Copy the private key .DER file to the
/opt/qradar/conf/trusted_certificates/jdbc directory that you created. Do not
store the private key in any other location.
- Configure the log source by using only the file name of the private key file in the
/opt/qradar/conf/trusted_certificates/jdbc directory. Ensure that you type the
file name correctly in the Private Key File Name field when you configure the log
source.
Tip: If you configure the log source before you store the private key, an error message
is displayed.
-
Assign the public key to a Snowflake user (on the Snowflake side). To assign the public key to
the user in Snowflake, run an ALTER USER command to set the
RSA_PUBLIC_KEY property. For example;
ALTER USER example_user SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...
Note: Please use the contents of the jdbc_public_key.pub file. If available,
remove the header and footer lines (-----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY-----), as
well as any line containing "writing RSA key", before you include it in the command.