Udostępnij za pośrednictwem


Assign certificates to web applications

APPLIES TO: no-img-132013 no-img-162016 no-img-192019 yes-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

SharePoint supports assigning SharePoint-managed certificates, which are imported by using the Import-SPCertificate PowerShell cmdlet, to web applications with an SSL binding. The certificate must be in SharePoint's End Entity certificate store and the certificate's private key must also be imported. You can assign a certificate when the web application is first created or after it's created.

A -Certificate <SPServerCertificatePipeBind> parameter has been added to the following cmdlets and commands:

The SPServerCertificatePipeBind accepts the following values:

  • String: Friendly name of the certificate.
  • String: Thumbprint of the certificate.
  • String: Serial number of the certificate.
  • GUID: ID property of the SPServerCertificate object.

To assign a certificate to a web application, while creating that web application or extending a web application to another zone through Central Administration, then set "Use Server Sockets Layer (SSL)" to Yes.

Select the server certificate from the Server Certificate drop-down list.