Compartilhar via


<serviceCertificate> of <clientCredentials> Element

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

<system.serviceModel>

  <behaviors>

    <endpointBehaviors>

      <behavior> of <endpointBehaviors>

        <clientCredentials>

          <serviceCertificate> of <clientCredentials> Element

                                    
                                    <serviceCertificate />
                                

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

<defaultCertificate> Element

Specifies an X.509 certificate to be used when a service or STS does not provide one via a negotiation protocol.

<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.

<authentication> of <serviceCertificate> Element

Specifies authentication behaviors for service certificates used by a client.

Parent Elements


Element Description

<clientCredentials>

Specifies the credentials used by the client to authenticate itself to a service.

Remarks

In certain cases, it is expected that the service certificate is configured at the client. That is, the client certificate is not exchanged as part of the service negotiation. In such a case, the serviceCertificate element is used to specify the certificate to use. The attributes of the serviceCertificate element are identical to the attributes of the <clientCertificate> of <clientCredentials> Element. This element is of type X509RecipientCertificateClient.

See Also

Reference

X509RecipientCertificateServiceElement

Footer image

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