From: 国玮 <zg...@ya...> - 2010-06-16 13:03:11
|
Hi, I followed instruction, start server, and then run test_test.sh, I got following out: guowei@guowei-laptop:~/Desktop/exp-tpm/privacyca/apki-0.2$ sudo sh run_tests.sh ./client.sh ekcert_create --ekfile ek.tpm -o opentc 20:51:46:998 [ERROR] TcTssContextFactory::newContextObject (64): Error! No TSP-TCS binding could be initalized. Both jTSS Wrapper and jTSS were tried. Check the TSP configuration file. Could not access TSS: java.lang.IllegalArgumentException 20:51:47:001 [ERROR] TcTssContextFactory::newContextObject (64): Error! No TSP-TCS binding could be initalized. Both jTSS Wrapper and jTSS were tried. Check the TSP configuration file. Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException at iaik.tc.tss.api.tspi.TcTssContextFactory.newContextObject(TcTssContextFactory.java:65) at iaik.tc.apki.common.tss.TspUtil.getEk(TspUtil.java:55) at iaik.tc.apki.client.cmd.CmdEkcertCreate.getEkKey(CmdEkcertCreate.java:30) at iaik.tc.apki.client.CmdParser.action_cmd_ekcert_create(CmdParser.java:972) at iaik.tc.apki.client.CmdParser.parse(CmdParser.java:804) at iaik.tc.apki.APKIC.main(APKIC.java:36) Caused by: java.lang.IllegalArgumentException at iaik.tc.utils.properties.Properties.getProperty(Properties.java:256) at iaik.tc.tss.api.tspi.TcTssContextFactory.newContextObject(TcTssContextFactory.java:49) ... 5 more Can anyone tell me how to handle it? Thanks a lot. Zou GuoweiTsinghua University,Master of Software EngineerTel 010-62778736, Cell Phone 15120004264 |