That is not the proper way to use smart cards in a Sun Ray environment.
That was for Solaris workstations only, what you are seeing is a hack
that is bound to have multiple problems. The least of which is that it
depends on OCF which is not support under Sun Ray and something that we
disable when you install the PCSC SRCOM Bypass. You need to get
middleware that does true PKI such as ActivIdentity or you can check out
Muscle.
Axel Seguin wrote:
Hello everyone,
I am trying to setup the smartcards using the sun ray's card reader. I
would like to store the username and password on the card so the users
do not have to type any username or password. I followed the
instructions I found in
http://www.filibeto.org/~aduritz/truetrue/sunray/srss-sc-pers
I installed PC/SC SUNWsrcpb. I am running SRSS 3.1 with patch 120879-05
on sparc Solaris 9.
I have enabled the driver for the internal sun ray's card reader and I
can see it in the sdtsmartcardadmin panel.
My problem is when I try to load the Java applet SolarisAuthApplet. I
get an error :
SunRayCardTerminal: <isClientAuthorized(SunRayDTU|:18)> authorized:
[true] client UID: [0] owner UID: [0]
SunRayCardTerminal: <isClientAuthorized(SunRayDTU|:18)> authorized:
[true] client UID: [0] owner UID: [0]
CTListeningService : <waitForCardInserted> timeout=0
CTListeningService : <setExpectedEvent>
SunRayCardTerminal: <internalFeatures(SunRayDTU|:18)> added feature:
[display] = [true]
SunRayCardTerminal: <internalFeatures(SunRayDTU|:18)> added feature:
[keyboard] = [true]
SunRayCardTerminal: <internalFeatures(SunRayDTU|:18)> added feature:
[leds] = [1]
SunRayCardTerminal: <internalFeatures(SunRayDTU|:18)> added feature:
[led.0] = [green]
SunRayCardTerminal: <internalFeatures(SunRayDTU|:18)> added feature:
[removable] = [true]
SunRayCardTerminal: <internalFeatures(SunRayDTU|:18)> added feature:
[SPEM] = [true]
CTListeningService : <setExpectedEvent> reader: SunRayDTU|:18 on
[EMAIL PROTECTED]:18
CTListeningService : <setExpectedEvent> card = null rdr = SunRayDTU|:18
aid = null
OCFServer : <getCardHandle>
OCFServer : <getCardHandle> returning CardHandle=1 CardName=PayFlex
ReaderName=SunRayDTU|:18
CTListeningService : <waitForCardInserted> returning with : cardhandle
= 1
SunRayCardTerminal: <isClientAuthorized(SunRayDTU|:18)> authorized:
[true] client UID: [0] owner UID: [0]
CTListeningService : <waitForCardInserted> timeout=0
CTListeningService : <setExpectedEvent>
CTListeningService : <setExpectedEvent> reader: SunRayDTU|:18 on
[EMAIL PROTECTED]:18
CTListeningService : <setExpectedEvent> card = PayFlex rdr =
SunRayDTU|:18 aid = null
OCFServer : <getCardHandle>
OCFServer : <getCardHandle> returning CardHandle=1 CardName=PayFlex
ReaderName=SunRayDTU|:18
CTListeningService : <waitForCardInserted> returning with : cardhandle
= 1
INT_cardletAdmin::hash before call to
loadApplet:{PayFlex.aid=A000000062030400,
PayFlex.name=SolarisAuthProperties, PayFlex.pin=242424246A617661,
PayFlex.transportKey=4746584932567840, PayFlex.description=Solaris
default PayFlex properties}
In PayFlex loadApplet. AID = A000000062030400
In PayFlex loadApplet. PIN = 242424246A617661
In PayFlex loadApplet. transportKey = 4746584932567840
About to setupCardletAdmin
SRCOM: <exchange_APDU> sendAPDU: [00a40000023f00] recvAPDU: [9000]
SRCOM: <exchange_APDU> sendAPDU: [00200000084746584932567840] recvAPDU:
[9000]
About to createPayFlexFS
pinBytes[0] = 36
pinBytes[1] = 36
pinBytes[2] = 36
pinBytes[3] = 36
pinBytes[4] = 106
pinBytes[5] = 97
pinBytes[6] = 118
pinBytes[7] = 97
SRCOM: <exchange_APDU> sendAPDU: [00a40000023f00] recvAPDU: [9000]
PayFlexConstants.selectRoot
SRCOM: <exchange_APDU> sendAPDU: [00200000084746584932567840] recvAPDU:
[9000]
verifyTransportKeyAPDU(transKey)
SRCOM: <exchange_APDU> sendAPDU: [00e0000009007c5f003800000000]
recvAPDU: [6a80]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.opencard.server.OCFDispatcher.invokeMethod(OCFDispatcher.java:154)
at
com.sun.opencard.server.OCFDispatcher.dispatchCardService(OCFDispatcher.java:91)
at
com.sun.opencard.http.OpenCardHandler.ocfResponse(OpenCardHandler.java:136)
at
com.sun.opencard.http.OpenCardHandler.respond(OpenCardHandler.java:83)
Caused by: opencard.core.service.CardServiceException: Unable to load
PayFlex card 36864
at
com.sun.opencard.service.payflex.PayFlexCardletAdminCardService.loadApplet(PayFlexCardletAdminCardService.java:194)
at
com.sun.opencard.service.common.INT_CardletAdminCardService.loadApplet(INT_CardletAdminCardService.java:56)
... 8 more
I have been looking for a solution for quite a while now. Am I doing
something wrong? Have I missed some steps? Any help would be greatly
appreciated.
Thanks in advance.
Axel
_______________________________________________
SunRay-Users mailing list
[email protected]
http://node1.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://node1.filibeto.org/mailman/listinfo/sunray-users