<serviceCertificate> of <clientCredentials> Element

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

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <endpointBehaviors>
      <behavior> of <endpointBehaviors>
        <clientCredentials>
          <serviceCertificate> of <clientCredentials> Element

Syntax

<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

This configuration element specifies the settings used by the client to validate the certificate presented by the service using SSL authentication. It also contains any certificate for the service that is explicitly configured on the client to use for encrypting messages to the service using message security.

The attributes of the serviceCertificate element are identical to the attributes of the <clientCertificate> of <clientCredentials> Element.

See Also

Reference

ClientCredentialsElement
ServiceCertificate
ClientCredentials
ServiceCertificate
X509RecipientCertificateClientElement
X509CertificateRecipientClientCredential

Other Resources

Security Behaviors in WCF
Securing Clients
Working with Certificates
Securing Services and Clients


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05