<serviceCertificate> of <serviceCredentials>
Specify an X.509 certificate that will be used to authenticate the service to clients using Message security mode.
<serviceCertificate findValue="String" storeLocation="LocalMachine/CurrentUser" storeName="AddressBook/AuthRoot/CertificateAuthority/Disallowed/My/Root/TrustedPeople/TrustedPublisher" X509FindType="FindByThumbprint/FindBySubjectName/FindBySubjectDistinguishedName/FindByIssuerName/FindByIssuerDistinguishedName/FindBySerialNumber/FindByTimeValid/FindByTimeNotYetValid/FindByTemplateName/FindByApplicationPolicy/FindByCertificatePolicy/FindByExtension/FindByKeyUsage/FindBySubjectKeyIdentifier" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
A string that contains the value to search for in the X.509 certificate store. The type contained in the attribute must satisfy the requirements of the specified X509FindType. The default is an empty string.
Specifies the location of the X.509 certificate store that the client uses to validate the server’s certificate against. Valid values include the following:
The default is LocalMachine.
Specifies the name of the X.509 certificate store to open. Valid values include the following:
The default is My.
Defines the type of X.509 search to be executed. Valid values include the following:
The type contained in the findValue attribute must satisfy the requirements of the specified X509FindType.
The default value is FindBySubjectDistinguishedName.
Specifies the credential to be used in authenticating the service, and the client credential validation related settings.
Use this element to specify an X.509 certificate that will be used to authenticate the service to clients using Message security mode. If you are using a certificate that will be periodically renewed, then its thumbprint will change. In that case, use the subject name as the X509FindType because the certificate can be reissued with the same subject name.
For more information about using the element, see How to: Specify Client Credential Values.