java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.b.<clinit>([DashoPro-V1.2-120198]) at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.securityexception problem...

    Oracle Community | 2 decades ago | 3004
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.b.<clinit>([DashoPro-V1.2-120198]) at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.b.<clinit>([DashoPro-V1.2-120198]) at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])

      at com.ctg.ekey.util.EncryptionUtility.getCipher()
    2. com.ctg.ekey
      EncryptionUtility.desEncrypt
      1. com.ctg.ekey.util.EncryptionUtility.getCipher(EncryptionUtility.java:186)
      2. com.ctg.ekey.util.EncryptionUtility.desEncrypt(EncryptionUtility.java:86)
      3. com.ctg.ekey.util.EncryptionUtility.desEncrypt(EncryptionUtility.java:108)
      3 frames