Error: java.io.FileNotFoundException creating DLP Tomcat certificate
search cancel

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

  1. Incorrect path syntax in the command line (e.g., stray double quotes or spaces not properly escaped).
  2. Environment mismatch where the system is utilizing an incorrect or unsupported Java version instead of the DLP-provided JRE.

Resolution

  1. Open a Command Prompt with Administrator privileges.
  2. Verify the Java environment by running java -version. Ensure it matches the Broadcom-supported version for the DLP installation.
  3. 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
  4. Ensure the keystore password and the key password are identical. The default for DLP is protect.
  5. If the issue persists, migrate the environment to use the correct Java JRE provided in the DLP installation directory.