To ensure that Sitefinity CMS uses the same encryption key when running in load balancing, it is required that all web servers use the same machine key.
You must add a machineKey configuration in each instance’s web.config file.
NOTE: Add the machine key inside section <configuration>/<system.web>. This is the <system.web> section that is a direct child of the <configuration> section.
<configuration>
<system.web>
For more information, see Microsoft's machineKey Element (ASP.NET Settings Schema) .
NOTE: The following section applies to SWT authentication scenarios and does not apply for OpenID authentication.
For Sitefinty’s claims-based authentication mode to operate correctly under load balancing, you must configure each node participating in the LB configuration as an issuer and as a relying party. For more information about authentication modes, see Authentication and Single Sign-On (SSO).
To add your nodes as issuers and relying parties perform the following:
NOTE: If your site is accessible via www. You must also perform Step 5 for this binding. For example, http://www.smith.telerik.com/Sitefinity/Authenticate/SWT
NOTE: If your site is accessible on https://, you must perform Step 5 for the https:// binding. You must also add an entry for https://localhost.
You could also use the server IP address: http://192.168.0.1
<system.identityModel.services>
NOTE: If your site is accessible on https://, you must perform Step 10 for the https:// binding. You must also add an entry for https://localhost
If you have an SSL binding for your site, you must have the SSL certificate installed on each of the web server nodes and must have added the https:// bindings to the configurations listed in the procedure above.
NOTE: Sitefinity CMS does not synchronize its configuration between the nodes participating in your Load Balanced setup. You must perform the above settings on all Sitefinity CMS instances of your load balanced setup. If you are interested in possible approaches for handling configuration synchronization, see Administration: Upload and physical location of the application.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important