When running an Exchange 2010 Upgrade to SP3 on SBS2011 you might come across the following error:
Error:
The following error was generated when “$error.Clear();
Write-ExchangeSetupLog -Info “Creating SBS certificate”;
$thumbprint = [Microsoft.Win32.Registry]::GetValue(“HKEY_LOCAL_MACHINE\Software\Microsoft\
SmallBusinessServer\Networking”, “LeafCertThumbPrint”, $null);
if (![System.String]::IsNullOrEmpty($thumbprint))
{
Write-ExchangeSetupLog -Info “Enabling certificate with thumbprint: $thumbprint for SMTP service”;
Enable-ExchangeCertificate -Thumbprint $thumbprint -Services SMTP;
Write-ExchangeSetupLog -Info “Removing default Exchange Certificate”;
Get-ExchangeCertificate | where {$_.FriendlyName.ToString() -eq “Microsoft Exchange”} | Remove-ExchangeCertificate;
Write-ExchangeSetupLog -Info “Checking if default Exchange Certificate is removed”;
$certs = Get-ExchangeCertificate | where {$_.FriendlyName.ToString() -eq “Microsoft Exchange”};
if ($certs)
{
Write-ExchangeSetupLog -Error “Failed to remove existing exchange certificate”
}
}
else
{
Write-ExchangeSetupLog -Warning “Cannot find the SBS certificate”;
}
” was run: “The certificate with thumbprint <> was not found.”.
The certificate with thumbprint <> was not found.
Click here for help… http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp
Solution:
Make a backup of the key below.
Delete the value inside the following registry key:
HKEY_LOCAL_MACHINE/Software/Microsoft/SmallBusinesServer/Networking/LeafCertThumbprint
Rerun the setup and it should complete.
Hope it helps.