|
From: Carolin L. <car...@un...> - 2008-01-18 12:42:21
|
Got it working!!! :-)
I had to add iaik_jtss_tcs.jar to the classpath in pki_server.sh ( I do
not understand, why I have to add iaik_jtss_tsp.jar to the system's
classpath and iaik_jtss_tcs.jar to the temporary classpath.... but that
doesn't matter as long as there is a working solution).
But there are still some strange things:
If I ask my server for an EK certificate, the answer is:
Validating XKMS message signature using certificate:
CN=IAIK OpenTC XKMS Test Responder,OU=IAIK trusted computing
labs,O=Graz University of Technology,C=AT
XKMS Result message signature is INVALID.
received EK certificate #20080118133421135
exported to file: tybble_ek.cert
That does not happen with your server. I generated my server
certificates using tccert ca.ini and build_certs.sh.
I think, the following server error is a consequence from the one above:
javax.crypto.BadPaddingException: Invalid PKCS#1 padding: no leading zero!
at iaik.pkcs.pkcs1.b.b(Unknown Source)
at iaik.pkcs.pkcs1.RSACipher.a(Unknown Source)
at iaik.pkcs.pkcs1.RSACipher.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(DashoA13*..)
at
iaik.tc.apps.jtt.aik.PrivacyCa.decryptIdentityReqBlob(PrivacyCa.java:246)
at iaik.tc.apps.jtt.aik.PrivacyCa.processRequest(PrivacyCa.java:163)
at
iaik.tc.apps.pki.server.cmd.RPRegisterCreateAIK.process(RPRegisterCreateAIK.java:64)
at
iaik.xkms.server.handler.AbstractHandler.handleRequest(AbstractHandler.java:122)
at iaik.xkms.server.handler.HTTPHandler.run(HTTPHandler.java:139)
Regards and thanks for the help!
Carolin
Ronald Tögl wrote:
> Carolin Latze wrote:
>> But I changed the error now :-) Now, it is
>>
>> java.lang.NoClassDefFoundError:
>> iaik/tc/tss/impl/java/tcs/TcTcsProperties
>> at
>> iaik.tc.tss.impl.java.tsp.internal.TcTspProperties.getTspProperties(Unknown
>>
>> Source)
>>
> Ah, this new error is much better. :-)
>
> There is a minor bug in TSS 0.2 (with the TcTspProperties referencing
> TcTcsProperties). It will be fixed in the next release. As a quick
> workaroung just include iaik_jtss_tcs.jar in your classpath, even if
> you do not require the core services.
>
> Regards, Ronald
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Trustedjava-support mailing list
> Tru...@li...
> https://lists.sourceforge.net/lists/listinfo/trustedjava-support
>
--
Carolin Latze
Research Assistant
Department of Computer Science
Boulevard de Pérolles 90
CH-1700 Fribourg
phone: +41 26 300 83 30
|