Search This Blog

Monday, April 5, 2010

create exchange 2010 self-signed certificate again

New-ExchangeCertificate -PrivateKeyExportable $True -Services IMAP, POP, IIS, SMTP -SubjectName cn=remote.myooophm.com

$file = Export-ExchangeCertificate -Thumbprint xxxmythumbprinthereyyyyy -BinaryEncoded:$true -Password (Get-Credential).password
Set-Content -Path "c:\certificates\mycert.pfx" -Value $file.FileData -Encoding Byte

you can deploy the selft-signed cert via group policy

No comments:

Post a Comment