Self signed Cert for Outlook Anywhere

This needs to be edited and entered in the Exchange Shell, do so at your own risk – I will not be held liable for anything that happens.

New-ExchangeCertificate -FriendlyName “SelfSigned Cert” -SubjectName “cn=mail.yourdomain.com” -DomainName your-Server,your-Server.yourlocaldomain.local,mail.yourdomainr.com -PrivateKeyExportable $True

I have used this on Server 2008 and Exchange 2007