Refresh the policies file cache

Refresh the policies file cache

Post by Jacques Ma » Fri, 07 Apr 2006 16:26:30


Hi

I have a web service secured with X509 Certificates (WSE 3.0). I use a
MutualCertificate11Assertion assertion to manage security and a
Authorization element to select certificates that can be used to
communicate.

The problem :
When I add a new certificate in the Authorization element, I have to
restart (or reset) my IIS service to make the webservice update. If I
don't do that, the new certificate can't connect the webservice. Is
there a solution without IIS restarting ?

++
JM
 
 
 

Refresh the policies file cache

Post by Jacques Ma » Fri, 07 Apr 2006 16:26:31

Hi

I have a web service secured with X509 Certificates (WSE 3.0). I use a
MutualCertificate11Assertion assertion to manage security and a
Authorization element to select certificates that can be used to
communicate.

The problem :
When I add a new certificate in the Authorization element, I have to
restart (or reset) my IIS service to make the webservice update. If I
don't do that, the new certificate can't connect the webservice. Is
there a solution without IIS restarting ?

++
JM

 
 
 

Refresh the policies file cache

Post by Pablo Cibr » Fri, 07 Apr 2006 22:55:18

Hi Jacques,

Yes, WSE keeps the policies in a in-memory cache for performance reasons.
Unfortunately, there is not a good solution to refresh that cache.
Another ugly workaround is to recycle the ASP.NET worker process. (For
example, modifying the web.config file).

Regards,
Pablo Cibraro
http://www.yqcomputer.com/