Re: [JSch-users] Got exception while run Jsch sftp on HPUX
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2006-12-19 02:56:47
|
Hi, +-From: "Han, Zhi (Zhi)" <zh...@al...> -- |_Date: Mon, 18 Dec 2006 16:02:32 +0800 _______________ | |I changed code() a little bit: remove the GUI. Then run on the HPUX11.0, |I always got below exception: |Exception in thread "main" java.lang.ExceptionInInitializerError | at javax.crypto.KeyAgreement.getInstance(DashoA6275) ... |Caused by: java.lang.SecurityException: Cannot set up certs for trusted |CAs | at javax.crypto.SunJCE_b.<clinit>(DashoA6275) | ... 7 more |Caused by: java.lang.SecurityException: Signer restraint check failed! | at javax.crypto.SunJCE_b.i(DashoA6275) | at javax.crypto.SunJCE_b.h(DashoA6275) | at javax.crypto.SunJCE_v.run(DashoA6275) | at java.security.AccessController.doPrivileged(Native Method) It seems the problem does not exist in the code. Exceptions have occured in accessing to JCE APIs. Search for the string 'Signer restraint check failed!' on the Google. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ |