다음을 통해 공유


인증서 할당 바꾸기

적용 대상:no-img-132013 no-img-162016 no-img-192019 yes-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

SharePoint는 SharePoint 내에서 기존 인증서의 모든 사용을 다른 인증서로 바꾸는 것을 지원합니다. 예를 들어 기존 인증서가 만료에 가까워지고 이 기존 인증서를 새 인증서로 바꿀 수 있습니다. Switch-SPCertificate Powershell cmdlet을 사용하여 기존 인증서의 할당을 새 인증서로 바꿉니다. 그러면 SharePoint 내의 기존 인증서를 모두 새 인증서로 대체합니다.

예:

Switch-SPCertificate [-Identity] <SPServerCertificatePipeBind> [-NewCertificate] <SPServerCertificatePipeBind> [-WhatIf] [-Confirm] [<CommonParameters>]

cmdlet 매개 변수는 다음과 같습니다.

매개 변수 설명
ID 할당을 바꿀 인증서입니다.
NewCertificate Identity 매개 변수로 지정된 인증서의 모든 할당을 대체해야 하는 인증서입니다.

예를 들면 다음과 같습니다.

Switch-SPCertificate -Identity "Contoso SharePoint (2020)" -NewCertificate "Contoso SharePoint (2021)"