all groups > dotnet web services enhancements > august 2006 >
You're in the

dotnet web services enhancements

group:

WSE UsernameOverCertificate problems


WSE UsernameOverCertificate problems Frank
8/30/2006 11:21:48 AM
dotnet web services enhancements:
Hi All,

I'm having a problem configuring my servers to allow WSE 3.0
usernameOverCertificate security. Just a little overview, I have a
asp.net 2.0 web service that provides data to windows app. I am able to
use the usernameOverCertificate policy from my dev machine in debug
mode i.e. my service is running from
http://localhost:4450/Test/service.asmx and my client is running on the
same machine. However, when I publish the server to IIS and make the
corressponding changes in the client I get WSE910: ... Security header
not present ...

I have 2 certificates on the machine
local machine - Personal Store (public & private key) ServerCert
current user - Other People Store (public key) ServerCert

I am running windows xp so i granted the asp.net user access to the
private key of the ServerCert.

The ServerCert is also installed on my DefaultWebSite in IIS.

I am baffled, I don't know what else to try. I cannot figure out why it
works in degug mode (ASP.Net Development Server) and not on IIS.

Please help,
Re: WSE UsernameOverCertificate problems Pablo Cibraro [MVP]
9/5/2006 10:54:16 AM
Hi Frank,

The certificates seems to be correctly installed. Take a look to the WSE
trace files or eventlog to see if you can find additional information about
the error. (WSE usually logs useful information in those places).

It is probably a securtiy problem, when you use the ASP.NET Development
server, the ASP.NET worker process runs under the current account. When you
use IIS, it runs under the ASPNET account.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

[quoted text, click to view]

RE: WSE UsernameOverCertificate problems bigdana
11/7/2006 12:32:03 PM

[quoted text, click to view]

did u find a solution? i am having the same problem as u. if u did, pls give me a hint...thx

AddThis Social Bookmark Button