<serviceCertificate>
Configures the X.509 certificate that is used to encrypt and decrypt tokens.
<configuration>
<system.identityModel.services>
<federationConfiguration>
<serviceCertificate>
Syntax
<system.identityModel.services>
<federationConfiguration>
<serviceCertificate>
</serviceCertificate>
</federationConfiguration>
</system.identityModel.services>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child Elements
Element | Description |
---|---|
<certificateReference> | Specifies settings that are used to find and validate an X.509 certificate in a certificate store. |
Parent Elements
Element | Description |
---|---|
<federationConfiguration> | Contains the settings that configure the WSFederationAuthenticationModule (WSFAM) and the SessionAuthenticationModule (SAM). |
Example
The following XML shows the use of the <serviceCertificate> element. The XML is taken from the CustomToken
sample.
<serviceCertificate>
<certificateReference x509FindType="FindBySubjectName" findValue="localhost" storeLocation="LocalMachine" storeName="My"/>
</serviceCertificate>