“encrypted EDM data set” using command “edm-secure-cli.bat create” on Windows client failed

“encrypted EDM data set” using command “edm-secure-cli.bat create” on Windows client failed

190
Created On 07/19/25 00:51 AM - Last Modified 11/12/25 22:14 PM


Symptom


  • On Windows client, “edm-secure-cli.bat create”  command failed in command prompt rendering error

Application failed due to an unknown error. Application is exiting” 


  • EDM package logs may show

I/O error on GET request for https://api.dlp.paloaltonetworks.com/v1/public/edm/supported-configuration": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: “ 

 



Environment


  • Enterprise DLP
  • A Windows Client running Windows 10 or higher with Java Runtime/JDK installed
  • If intermediate NGFW or Prisma Access are in the path, a network configuration to allow traffic


Cause


This issue may happen due to one or more following issues: 

  • Environment variable may be pointing to wrong Java Runtime folder instead of Java Runtime required for EDM version 4.0 
  • Customer infra may have firewalls where required FQDN are not in allow list which prevents SSL communication between Windows client and DLP cloud. An example error (logs on Windows)

 “I/O error on GET request for "https://api.dlp.paloaltonetworks.com/v1/public/edm/supported-configuration": PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: “ 

  • Additionally, authorization may fail leading not to fetch access_token due to failed SSL communication, incorrect client ID and Secret of a service account


Resolution


This is documented in  https://docs.paloaltonetworks.com/enterprise-dlp/activation-and-onboarding/setup-prerequisites-for-enterprise-dlp#fqdns-for-edm 

  • Verify if the Palo Alto Network certs are imported to java keystore on Windows.  
  • Ensure the EDM config file has accurate “client ID and Secret” 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1Ki000000fxt7KAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail