|
From: 窦佐超 <dou...@ho...> - 2014-09-02 14:16:19
|
Dear All,
I installed TPM_emulator, JTSS and JTPMtool.
It works on my Ubuntu system.
Now I try to install the same setting on CentOS 6.5. with all the same setting.
The TPM_emulator, JTSS works fine and passed the run_test_simple.sh.
When I tried the jTPM-tool, pcr_extend, pcr_read, tpm_version are works fine.
But when I tried to use create_key, it came up with the following error:
[edward@master jTpmTools_0.7]$ sudo bash jtt.sh create_key -t storage
---------------------
IAIK Java TPM Tools
---------------------
10:06:28:676 [INFO] CreateKey::execute (115): Using default TSS_WELL_KNOWN_SECRET as key secret
iaik.tc.tss.api.exceptions.tcs.TcTpmException:
TSS Error:
error layer: 0x00 (TPM)
error code (without layer): 0x03
error code (full): 0x03
error message: One or more parameter is bad
at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73)
at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdAuthorization.TpmOSAP(TcTpmCmdAuthorization.java:101)
at iaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthManager.startOSAP(TcTcsAuthManager.java:53)
at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipOSAP(TcTcsi.java:2764)
at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipOSAP(TcTcsBindingLocal.java:746)
at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspOSAP_Internal(TcTspInternal.java:4114)
at iaik.tc.tss.impl.java.tsp.TcRsaKey.createKey(TcRsaKey.java:495)
at iaik.tc.apps.jtt.keys.CreateKey.execute(CreateKey.java:158)
at iaik.tc.utils.cmdline.SubCommand.run(SubCommand.java:69)
at iaik.tc.utils.cmdline.SubCommandParser.parse(SubCommandParser.java:41)
at iaik.tc.apps.JTpmTools.main(JTpmTools.java:224)
10:06:28:852 [ERROR] JTpmTools::main (235): application exits with error:
TSS Error:
error layer: 0x00 (TPM)
error code (without layer): 0x03
error code (full): 0x03
error message: One or more parameter is bad
(return: -1)
[edward@master jTpmTools_0.7]$
Please help me with this, Thanks!
|