KrakenTyio / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
0 stars 0 forks source link

error: no protocol version header #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

We are using fedict jar files for the authentication, identification of 
eid card. We also you jtrust for OCSP and CRL validation for 
authentication purpose.

We implement the AuthenticationService interface where we do certificate 
chain validation using jtrust.

example.,

....

 try {
            trustValidator.isTrusted(certificates);
        } catch (final CertPathValidatorException exc) {
            throw new SecurityException("Certificate does not valid");
        }
.....

Now i have problem when i got exception from jtrust the "untrusted 
certificate" i transformed it into the security exception and throw it.
I expected that i will recive the security error message on web page but i 
got generic error message with the following error trace.

......
sending message: AuthenticationDataMessage
current protocol state: AUTHENTICATE
SSL handshake finish cipher suite: SSL_RSA_WITH_RC4_128_MD5
error: no protocol version header
error type: java.lang.RuntimeException
at be.fedict.eid.applet.shared.protocol.Unmarshaller.receive:222
at be.fedict.eid.applet.Controller.sendMessage:201
at be.fedict.eid.applet.Controller.performEidAuthnOperation:1014
at be.fedict.eid.applet.Controller.run:342
at be.fedict.eid.applet.Applet$AppletThread$1.run:525
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:520
at java.lang.Thread.run:-1
Generic Error.
.....

From initial invesitgation we found that during unmarshalling of object 
there is no protocolVersionHeaderName.

This is really blocing issue for us.
What is the possible situation to overcome this issue?

Thanks in advance,

Kr,
U

Original issue reported on code.google.com by urvishmp...@gmail.com on 19 Jan 2010 at 5:31

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/eid-applet/source/detail?r=357

Original comment by frank.co...@gmail.com on 21 Jun 2010 at 3:34