Eric's Blog

Day to day experience in .NET
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

Setting Security Properties on Certificates

When deploying solutions that contains a Security Token Service (STS) you will probably have to set the security properties of the private key of the certificates that are used to sign and encrypt the messages. It can be very difficult to find the file though, but luckily there is a resource tool for this specific purpose that can be downloaded at http://go.microsoft.com/fwlink/?linkid=20506. After installing the tool on server the following command can be used to set the security properties.

WinHttpCertCfg.exe -g -c LOCAL_MACHINE\MY -s "WSE2QuickStartServer" -a "MYMACHINE\NetworkService"

The c parameter is followed by the certificate store, s should be followed by the name of the certificate and finally a is the account to allow using the certificate.

Published den 14 december 2008 15:29 by ericqu

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems