Groups | Blog | Home
all groups > dotnet web services enhancements > august 2006 >

dotnet web services enhancements : WSE 3 setting server cert permissions question


Sid DeLuca
8/23/2006 3:57:02 PM
I have my web service application running well using the
UsernameForCertificate assertion. As part of getting the service and test
client application set up on a development Win2003 Server box I have access
to, I had to use the WSE3 certificates tool to grant permissions to the
server certificate for the Network Service account.

Now I have to move the web server to our outward facing staging server,
which I don't have access to. I would like to instruct the server admins on
how to set the appropriate permissions on the server certificate installed,
but I'm guessing they *don't* want to have to install WSE3 and use the
certificate tool to do so. Can anyone tell me how I might go about
associating a particular certifiate with a physical path on the server so one
can set permissions? Again, I don't want to have to require them to install
the WSE3 tools.

Sid DeLuca
8/24/2006 10:38:02 AM
Excellent. I've e-mailed the team and attached the utility to my request.

(I'm assuming that for Windows Server 2003 I need to specify "NETWORK
SERVICE" account instead of "ASPNET" ?)

Thank you!

[quoted text, click to view]
Pablo Cibraro [MVP]
8/24/2006 11:01:38 AM
Hi Sid,

Microsoft provides another tool to grant permissions on certificates, the
name of this tool is winhttpcertcfg.
The following sample, grant permission on the certificate created above to
the ASPNET account:
winhttpcertcfg -g -c LOCAL_MACHINE\My -s MyServerCert -a ASPNET

You can find this tool in the same folder as the WSE quickstarts.
(C:\Program Files\Microsoft WSE\v3.0\Samples)

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

[quoted text, click to view]

AddThis Social Bookmark Button