Problem in STS Communication

Hi

We have created a managed card provider and STS. We have followed the following steps

1. Installed the Card provider certificates
2. Provided ACL for those certificates
3. Hosted the STS in IIS
4. Set SSL for the Card Provider Certificate

Now when we use the card, the cardspace is unable to retrieve the Security token from the STS. The Error log displays the following

"There was a failure making a WS-Trust exchange with an external application. The Identity provider end point was not found."

We are unable to trace where the exact problem is. Could someone tell us how to configure the endpoints in STS

[691 byte] By [Raguvind] at [2008-2-27]
# 1

I'll post a couple of quick points, as it may help, but this sounds like it could turn bigger :D.

The STS's endpoint should be visible from the browser (ie: http://foo.bar.com/STS) , but, the MEX endpoint for that MUST be protected with SSL (ie: https://foo.bar.com/STS/MEX).

So, are you using the STS sample that we provided? (it's not configured for hosting under IIS yet).

If not, try that first, and post back.

g


Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation
blog:http://blogs.msdn.com/garretts

GarrettSerack-MSFT at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 2

hi

Solved the problem thanks...But still a doubt in the sample provided by you, What is the purpose of Setting giving ACL to IIS for all the certificates when the STS is not hosted in IIS.

Regards

Ragu

Raguvind at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 3

Hi Garett/Ragu,

We are facing issues in creating Managed Cards.

Could you please help us understand how to create Managed Provider cards. We are able to use Self-issued cards. However, we are getting the below exception when using Managed Provider cards from thr RP application:

An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail, With inner Exception as "An error occurred when processing the security tokens in the message."

TIA.

mahalax at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 4

Mahalax,

Are you using the latest Managed Card Creator (posted in the community site that works with the July CTP) to create your managed cards ?

Softwaremaker at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 5
Yes, I am using the latest ManagedCard creator for July CTP.
mahalax at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 6

Hey Mahalax,

We are facing issues in creating Managed Cards.

Could you please help us understand how to create Managed Provider cards. We are able to use Self-issued cards. However, we are getting the below exception when using Managed Provider cards from thr RP application:

An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail, With inner Exception as "An error occurred when processing the security tokens in the message."

I think I'm going to need more information before I can help you.

Describe your scenario a bit... What are you using as your STS? and what are you doing at the RP?

Thanks,

g


Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation
blog:http://blogs.msdn.com/garretts

GarrettSerack-MSFT at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...
# 7

Raguvind,

What is the purpose of Setting giving ACL to IIS for all the certificates when the STS is not hosted in IIS.

Well, it's two-fold.

First, the RP needs the ACLs on the private keys set to read them, and so I set them in my standard install scripts to make that easy.

Secondly, I intend on having it work in IIS, so I will need them eventually. :D

Thanks,

g


Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation
blog:http://blogs.msdn.com/garretts

GarrettSerack-MSFT at 2007-8-31 > top of Msdn Tech,Software Development for Windows Vista,Windows CardSpace (InfoCard)...

Software Development for Windows Vista

Site Classified