Error using SmartCard and STS Sample

I am trying to use smartcard with STSSample with no success. I created a sample certificate usingmakecert tool. So I installed it in smartcard. When I put the smartcard on the reader appears a dialog to confirm certificate installation and installs the certificate inCurrentUser\Root and CardSpace cannot find it because seems me that CardSpace only find inCurrentUser\My (Personal). If I copy or move the certificate toCurrentUser\My, CardSpace find it and request me a PIN and the reader is accessed (LED work) and for finish tell me that an error has occurred. Find the error details in Event Manager I find the following:

An error occurred when communicating with the Windows CardSpace service. Exception of type 'Microsoft.InfoCards.CommunicationException' was thrown.

Inner Exception: Internal Error


Additional Information:
Microsoft.InfoCards.CommunicationException: Exception of type 'Microsoft.InfoCards.CommunicationException' was thrown. > System.ComponentModel.Win32Exception: Internal error
at Microsoft.InfoCards.NativeMcppMethods.RpcCryptoDispatchRequest(IntPtr hIdl, String contextKey, String requestName, Byte[] buffer, Int32 index, Int32 length)
at Microsoft.InfoCards.RpcCryptoRequest.Process()

I am using ROCKEY200 smartcard reader:http://www.ftsafe.com/product/show_product.php?id=21&type=300000&section=3

Could anybody help me about this?

How can I set to the certificates be installed onCurrent User\My?

Thanks.

[2910 byte] By [Vítor] at [2008-1-4]
# 1

Seem that the error is not related to SmartCard but to the certificate that I created because even outside of smartcard was not possible. For first I tried to install Fabrikam sample certificate but my smartcard doesn't support 2048 bits key. So I am trying to create 1024 bits sample certificate using makecert tool without success.

Where can I learn about how to create certificates like STS sample (pfx) and how are the requirements that I need to test with CardSpace?

Thanks.

Vítor at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 2
I'm not that familiar with smartcards myself, but when I played with them in CardSpace, I used a Windows Server 2003 CA to generate the smartcard certificate and that worked for me.

//Toland

TolandHon-MSFT at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 3

So... I installed a Windows Server LongHorn Beta3 and then work properly. Now I have an another mistake: When I use the smartcard with the reader works properly, but When I use the usb token smartcard (that is not a iso card) the popup that requests the PIN number appears in the Windows normal desktop, and the CardSpace stops the computer. I only perceive that the PIN dialog is open behind because I hit the power button.

Thanks.

Vítor at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 4

I'm guessing the USB token smartcard is using some custom CSP which isn't currently supported. Since the CardSpace is running on a private desktop, it doesn't have the knowledge to bring that dialog over and since it's waiting use to input something, it appears to hang. Unfortunately, in the current version, I don't think there's anyway to support the scenario with the USB token smartcard.

//Toland

TolandHon-MSFT at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 5
Thank you Mr. Toland. I send a question to my reseller and he will passes me a new driver.
Vítor at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 6
Hey,

I've been trying to fix the same problem some months ago... I never found the solution.

Here's an overview of my problem description: http://www.voipsec.eu/?p=17
I also started 2 treats at the msdn forums, but I cannot find them anymore Tongue Tied

WouterVeugelen at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 7

Mr. Veugelen

I had not this error: Not Implemented.

Are you using the latest bits of CardSpace? There are also a Windows XP update.

Vítor at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 8
I tested this on Saturday, February 24th, 2007, by that time it was the latest version of CardSpace.
If I find the time and if
an update was released in mean time I will retest it!
WouterVeugelen at 2007-10-11 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...

Software Development for Windows Vista

Site Classified