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
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

    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