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.KeyGenerator.getInstance([DashoPro-V1.2-120198])

Oracle Community | 3004 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using JCE gives error: "Cannot set up certs for trusted CAs"

    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.KeyGenerator.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.KeyGenerator.getInstance([DashoPro-V1.2-120198])

      at freefall.SecureSession.init()
    2. freefall
      SecureSession.<init>
      1. freefall.SecureSession.init(SecureSession.java:121)
      2. freefall.SecureSession.<init>(SecureSession.java:33)
      2 frames