Muokkaa

Jaa


<serviceCertificate> of <clientCredentials> Element

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

<configuration>
  <system.serviceModel>
    <behaviors>
      <endpointBehaviors>
        <behavior>
          <clientCredentials>
            <serviceCertificate>

Syntax

<serviceCertificate />

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description
<defaultCertificate> Specifies an X.509 certificate to be used when a service or STS does not provide one via a negotiation protocol.
<scopedCertificates> 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> 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>.

See also