#The public name of Exchange 2007 Server is "mail.netometer.com" #NOTE!!! It should be specified twice in the request #Once as a common name - cn #and second time, listed as a Subject Alternative Name - DomainName #Modify all commands to reflect the actual name of your server #Generating the UCC request - certrequest.txt New-ExchangeCertificate -GenerateRequest -Path c:\certrequest.txt -KeySize 2048 -SubjectName "c=US, s=California, l=Pasadena, o=NetoMeter, ou=Engineering, cn=mail.netometer.com" -DomainName mail.netometer.com, ex-2k7.net.local, ex-2k7, autodiscover.netometer.com -PrivateKeyExportable $True #The following commands are for the single Exchange Server 2007 scenario #holding the MBX, CA, HT roles #Check the SCP details (Autodiscover Uri): Get-ClientAccessServer | FL #Set the new URI for SCP Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://mail.netometer.com/Autodiscover/Autodiscover.xml #Check the Web Services URL: Get-WebServicesVirtualDirectory | FL #Set the new URL for Web Services: Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -InternalUrl https://mail.netometer.com/EWS/Exchange.asmx -ExternalUrl https://mail.netometer.com/EWS/Exchange.asmx #List Certificates in local store: Get-ExchangeCertificate #Asign an existing Certificate ofr Exchange Services: Enable-ExchangeCertificate