IBM Websphere 6 JREを使用してアプリケーションを実行しています。秘密鍵Javaセキュリティー・エラー信任されたCAの証明書を設定できません。Websphere 7
AESキーキーサイズ生成生成しようとしたとき、私は、エラーの下に取得しています:256
アルゴリズム= "AES"、文字セット= "UTF8" を、chiper = "AES/CBC/PKCS5Padding" 変換、KEYLEN = 256;
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
at javax.crypto.KeyGenerator.a(Unknown Source)
at javax.crypto.KeyGenerator.<init>(Unknown Source)
at javax.crypto.KeyGenerator.getInstance(Unknown Source)
at com.hmsa.ebiz.encryption.Encryption.generateKey(Encryption.java:93)
at com.hmsa.ebiz.encryption.run.GenPrivKey.main(GenPrivKey.java:46)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
... 5 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:251)
... 8 more