List the existing SSL certificates
Get-ExchangeCertificate | FL |
#NETBIOS name of Exchange: EX-2k7
#Internal FQDN (AD name): EX-2k7.NET.local
#External FQDN (Public name): webmail.netometer.com
#Autodiscover name: autodiscover.netometer.com
#SubjectName: cn=webmail.netometer.com
#The command for generating the new Self-Signed SSL cert
#(uses the names listed above):
New-ExchangeCertificate -FriendlyName "SelfSigned Cert" -SubjectName "cn=webmail.netometer.com" -DomainName EX-2k7,EX-2k7.NET.local,webmail.netometer.com,autodiscover.netometer.com -PrivateKeyExportable $True |