Renew an Exchange self-signed certificate:
This example renews a self-signed certificate on the
local Exchange server,
Get-ExchangeCertificate -Thumbprint
BC37CBE2E59566BFF7D01FEAC9B6517841475F2D | New-ExchangeCertificate -Force
-PrivateKeyExportable $true
To find the thumbprint value of the certificate that
you want to renew, run the following command:
Get-ExchangeCertificate | where {$_.IsSelfSigned -eq $true} | Format-List FriendlyName,Subject,CertificateDomains,Thumbprint,NotBefore,NotAfter
To verify that you have successfully renewed an
Exchange self-signed certificate
Get-ExchangeCertificate | where {$_.Status -eq "Valid" -and $_.IsSelfSigned -eq $true} | Format-List FriendlyName,Subject,CertificateDomains,Thumbprint,NotBefore,NotAfter