Enabling Signed Configurations

This Configuration Builder component builds the updated configuration sections that are obtained from the database. You can use the component to sign XML configuration files.

To enable signed configuration files:

  1. Create a method in your project to read the certificate name and the certificate serial number from the configuration file.
  2. Retrieve the certificate from the local database.
  3. Create a new signed XML configuration file by loading the configuration file. Use the InitializeConfigurationStorage method to load a configuration file and sign it. (string applicationName, bool shouldSign, params string[] assertions)
  4. Add Transform and compute signature to the file.
  5. Append the signature to the document. You can use the UpdateConfigurationFile procedure to append signature to the document.