Certificate configuration change in saml.config

A change to saml.config has been introduced in v3.5.0 to provide more flexible support for configuring X.509 certificates.
Previously, a local certificate file was specified as follows.


LocalCertificateFile=“Certificates\sp.pfx”
LocalCertificatePassword=“password”



The new syntax is:








Similarly, a partner certificate was specified as follows.


PartnerCertificateFile=“Certificates\idp.cer”


The new syntax is:








For example:



<ServiceProvider
Name=“<a href=“https://ExampleServiceProvider” “=””><a href=“https://ExampleServiceProvider” “=”“><a href=“https://ExampleServiceProvider” “=””><a href=“https://ExampleServiceProvider”“>https://ExampleServiceProvider
Description=“Example Service Provider”
AssertionConsumerServiceUrl=“~/SAML/AssertionConsumerService.aspx”>






<PartnerIdentityProvider
Name=“<a href=“https://ExampleIdentityProvider” “=””><a href=“https://ExampleIdentityProvider” “=”“><a href=“https://ExampleIdentityProvider” “=””><a href=“https://ExampleIdentityProvider”“>https://ExampleIdentityProvider
Description=“Example Identity Provider”
SignAuthnRequest=“true”
SingleSignOnServiceUrl=“<a href=“https://localhost:44390/SAML/SSOService.aspx” “=””><a href=“https://localhost:44390/SAML/SSOService.aspx” “=”“><a href=“https://localhost:44390/SAML/SSOService.aspx” “=””><a href=“https://localhost:44390/SAML/SSOService.aspx”“>https://localhost:44390/SAML/SSOService.aspx
SingleLogoutServiceUrl=“”=“”>“=”“>”=“”>“>https://localhost:44390/SAML/SLOService.aspx”>









For more information, refer to the
ComponentSpace SAML for ASP.NET Configuration Guide