FAQ

How can I create temporary Certificates to use during development?
There are different ways to define and create certificate. This is the easiest way I think to create a certificate.
You can create certificate for testing using the makecert.exe command.
This is an example to create a certificate according to X.509 protocol.

makecert.exe -sr LocalMachine -ss My -a sha1 -n CN=XXXXX -sky exchange –pe

The subject name is XXXX which is the common name and this name uses in client configuration in the identity section.
The certificate store is LocalMachine\My related it can be accessed by machine processes such as the ASP.NET.

How can I grant the IIS Process Identity access to the certificate?

You can grant access to the private key of the certificate for the user account using winhttpcertcfg.exe command.
winhttpcertcfg.exe -g -c LOCAL_MACHINE\My -s XXXXX -a "Network Service"

This command grants access to private key of the “XXXXX” certificate in the My certificate store for the network service group.

How the cache updating works between the Remote provider client and server?
The Remote Page Provider framework uses the Event Management system and you have to configure it. The enableRemoteEvents attribute in the wb config should be true for both the client and server. In the web config file on the client side of the Remote Page Provider the EventSubscriberHostModule should be defined. For more information please see the Event Management System specification.
<httpmodule>
         <add name="EventSubscriberHostModule" type="EPiServer.EventSubscriberHostModule, EPiServer" />
         ….
</httpmodule>
What should I do when I receive exception “The System.Net.HttpListenerException: Access is denied” message?
When the process does not have rights access to the namespace which is defined in web config in server side of the Remote Page Provider this exception casts throw. You have to give the right access to the process using

Netsh http add urlacl url=namespace user=Domain\user
For more information you can see the beginning of the Hints section.

What should I do when I receive exception “System.ServiceModel.FaultException: Access denied”?
You should on the server side of the Remote Page Server allow the user to act as a web service user. In the config tab in the admin mode and under permission for functions you can configure this behavior.

Last edited Feb 18, 2009 at 1:25 PM by fredrikt, version 2

Comments

No comments yet.