Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Cannot set up certs for trusted CAs" exception.

Status
Not open for further replies.

mlundin1

Technical User
Sep 15, 2000
7
US
I am attempting to use the javax.crypto classes in order to decrypt and encrypt information. However, when I attempt the use the following line of code:


desDeCrypt = Cipher.getInstance( "DES/ECB/NoPadding" );


I get the following exception:


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


Any thoughts on why this might be happening? It's really putting a damper on my day.

Any help at all would be greatly appreciated.

Thanks,

Michael Lundin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top