Exchange 2010 SP3 installation fails on SBS 2011


I had an interesting issue with Exchange 2010 SP3 installation on a SBS 2011 server last night. Installation fails on the Hub Transport Server Role with following errors.

sbs 2011 upgrade sp3 error

 

This made me scratching my head. Why is it trying to remove existing certificate that is used by Exchange? It’s also the default SMTP certificate, that’s why setup was not able to remove it.

After investing further, I see this line in the PowerShell script,

Write-ExchangeSetupLog -Info “Removing default Exchange Certificate”;
Get-ExchangeCertificate | where {$_.FriendlyName.ToString() -eq “Microsoft Exchange”} | Remove-ExchangeCertificate

So it’s trying to remove default Exchange certificate that was created during the initial installation, that has friendly name “Microsoft Exchange”.

I’m thinking, there is no way the Godaddy certificate has Friendly Name “Microsoft Exchange”. After looking at the certificate properties, it is indeed the problem. The Friendly Name is showing “Microsoft Exchange”, instead of mail.domain.com.

In order for us to install SP3, we have to use SBS console to import a temporary certificate, so it updates “LeafCertThumbPrint” property in this registry key,

“HKEY_LOCAL_MACHINE\Software\Microsoft\SmallBusinessServer\Networking”

 Note: you can also update the registry manually with one of thumbprint from existing certificate that is already imported.

Exchange 2010 SP3 installs fine after the cert change.  Since we didn’t export the existing GoDaddy certificate before running SP3 setup, it was removed by the setup. In order for Exchange OA and Activesync clients  to continue function,  we have issue a new certificate request with proper Friendly Name, then import the new certificate. You can also reuse the existing certificate on GoDaddy’s website by using “Re-Key” option, but you might end up with a certificate without private key. To repair the missing private key, you can run following command
   certutil –repairstore my <serial number>

 

 

Advertisements

Configure Send email to Sharepoint on SBS 2011


Update for RTM (thanks Glenn!)

Note this works for the public beta and is subject to change

This assumes that your domain is domain.com and WSF is the domain specific to Sharepoint, everything that is RED is a value you need to set

· Configure Address Space in Exchange

New-AcceptedDomain –Domainname WSF.Domain.com –domaintype ExternalRelay –name WSF.Domain.com

· Configure Foreign Connector with drop folder

From PowerShell:

  • Mkdir “C:\Drop Directory\WSF”
  • CACLS “C:\Drop Directory\WSF” /e /p administrator:f %userdomain%\jedidiah_hammond:f “network service”:f
  • New-ForeignConnector -Name “WSF Connector” -AddressSpaces “smtp:WSF.domain.com” -SourceTransportServers “Hub01″,”Hub02″
  • Set-TransportServer Hub01 -RootDropDirectoryPath “C:\Drop Directory
  • Set-ForeignConnector “WSF Connector” -DropDirectory “WSF”

· Configure WSF to use drop folder

  • Start –> All Programs –> MS SP 2010 Prod –> SP 2010 Central Admin
  • System Settings –> Configure incoming e-mail Settings
  • Enable Sites on this server to receive e-mail = yes
  • E-Mail server display address = WSF.domain.com
  • E-mail Drop Folder = “C:\Drop Directory\WSF”

· Mail enable a WSF document library

  • Browse to site ex: http://companyweb
  • Click on the Document Library you want to mail enable Ex: Shared Documents
  • Click Library in the Ribbon
  • Click Library Settings
  • Under Communications click “Incoming e-mail settings”
  • Click allow this document library to receive e-email
  • Fill out the Email address Field Ex: Docs@WSF.domain.com
  • Click Yes under “Save original email?”
  • Click OK to save

· Create contact for WSF document library

  • New-mailcontact –ExternalEmailaddress “SMTP:Docs@WSF.domain.com” –name Docs –alias Docs –Firstname WSFFirst –Lastname WSFLast

Configure Send email to Sharepoint on SBS 2011–Preview


 

Note this works for the public beta and is subject to change

This assumes that your domain is domain.com and WSF is the domain specific to Sharepoint, everything that is RED is a value you need to set

· Configure Address Space in Exchange

New-AcceptedDomain –Domainname WSF.Domain.com –domaintype ExternalRelay –name WSF.Domain.com

· Configure Foreign Connector with drop folder

  • Mkdir “C:\Drop Directory\WSF”
  • New-ForeignConnector -Name "WSF Connector" -AddressSpaces "smtp:WSF.domain.com" -SourceTransportServers "Hub01","Hub02"
  • Set-TransportServer Hub01 -RootDropDirectoryPath "C:\Drop Directory"
  • Set-ForeignConnector "WSF Connector" -DropDirectory "WSF"

· Configure WSF to use drop folder

  • Start –> All Programs –> MS SP 2010 Prod –> SP 2010 Central Admin
  • System Settings –> Configure incoming e-mail Settings
  • Enable Sites on this server to receive e-mail = yes
  • E-Mail server display address = WSF.domain.com
  • E-mail Drop Folder = “C:\Drop Directory\WSF”

· Mail enable a WSF document library

  • Browse to site ex: http://companyweb
  • Click on the Document Library you want to mail enable Ex: Shared Documents
  • Click Library in the Ribbon
  • Click Library Settings
  • Under Communications click “Incoming e-mail settings”
  • Click allow this document library to receive e-email
  • Fill out the Email address Field Ex: “Docs@WSF.domain.com”

· Create contact for WSF document library

  • New-mailcontact –ExternalEmailaddress “SMTP:Docs@WSF.domain.com” –name Docs –alias Docs –Firstname WSFFirst –Lastname WSFLast