다음을 통해 공유


<scopedCertificates> Element

Represents a collection of X.509 certificates provided by specific services (scoped) for authentication. This collection is typically used to specify the service certificates for Security Token Services in a federated scenario.

<system.serviceModel>

  <behaviors>

    <endpointBehaviors>

      <behavior> of <endpointBehaviors>

        <clientCredentials>

          <serviceCertificate> of <serviceCredentials>

            <scopedCertificates> Element

              <add> for <scopedCertificates> Element

                                    
                                    <scopedCertificates>
                                
                                    
                                    </scopedCertificates> 
                                

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

<add> for <scopedCertificates> Element

Adds an X.509 certificate to the collection of scoped certificates.

Parent Elements


Element Description

<serviceCertificate> of <serviceCredentials>

Specifies a certificate to use when authenticating a service to the client.

Example

The following example specifies a service certificate for the client to use when communicating with endpoints whose domain name is www.contoso.com over the HTTP protocol.

<serviceCertificate>
  <scopedCertificates>
     <add targetUri="https://www.contoso.com" 
          findValue="www.contoso.com" storeLocation="LocalMachine"
                  storeName="Root" x509FindType="FindByIssuerName" />
  </scopedCertificates>
</serviceCertificate>

See Also

Reference

<add> for <scopedCertificates> Element
ScopedCertificates

Other Resources

Working with Certificates
Federation and SAML

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.