Configuring Box to Communicate with JSA
You must have a developer account.
Generate a private/public RSAkey pair for the JSON Web Token (JWT) assertion.
-
Open an SSH session to the JSA console.
-
For a private key, type the following command:
openssl genrsa -out box_private_key.pem 2048
-
For a public key, type the following command:
openssl rsa -pubout -in box_private_key.pem -out box_public_key.pem
-
-
Save a copy of the public key. You are required to paste the contents of the public key into the Add Public Key text box when you configure Box for API access.
-
Convert the private key to DER by typing the following command on one line:
openssl pkcs8 -topk8 -inform PEM -outform DER -in box_private_key.pem -out box_private_key.der -nocrypt
-
Store the private key on your managed host in JSA.
-
Create a directory that is named box in the opt/qradar/conf/trusted_certificates/ directory in JSA.
-
Copy the private key .DER file to the opt/qradar/conf/trusted_certificates/box 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/box directory. Ensure that you type the file name correctly in the Private Key File Name field when you configure the log source.
-
-
Copy the private key to the opt/qradar/conf/trusted_certificates/box directory.
Tip:If you configure the log source before you store the private key, an error message is displayed.
To retrieve administrator logs from your Box enterprise account, you must configure Box and your JSA Console.
Verify that JSA is configured to receive events from your Box DSM. If JSA is configured correctly, no error messages appear in the Edit a log source window.