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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment