Error: java.io.FileNotFoundException creating DLP Tomcat certificate
book
Article ID: 446254
calendar_today
Updated On:
Products
Data Loss Prevention Enterprise Suite
Issue/Introduction
You got java.io.FileNotFoundException or syntax error when attempting to create a new Tomcat certificate for the DLP Enforce UI keystore.
Environment
- Data Loss Prevention (DLP) 16.1 MP2 and higher
- Windows Server
- Java JRE/JDK
Cause
- Incorrect path syntax in the command line (e.g., stray double quotes or spaces not properly escaped).
- Environment mismatch where the system is utilizing an incorrect or unsupported Java version instead of the DLP-provided JRE.
Resolution
- Open a Command Prompt with Administrator privileges.
- Verify the Java environment by running
java -version. Ensure it matches the Broadcom-supported version for the DLP installation. - If using the manual command, ensure the path to the keystore is correctly quoted without stray characters:
"<full path to keytool.exe>" -genkey -alias <cert alias> -keyalg <key algorithm> -keysize <key size> -validity <cert duration> -sigalg <signature algorithm> -dname "<full dname string>" -ext "<full SAN extensions>" -keystore <full path to keystore> -storepass <keystore pass> "C:\path\to\your\.keystore" -storepass protect - Ensure the keystore password and the key password are identical. The default for DLP is
protect. - If the issue persists, migrate the environment to use the correct Java JRE provided in the DLP installation directory.
Feedback
thumb_up
Yes
thumb_down
No