Создание сертификата для Exchange 2010(2007)
Взято отсюда: http://www.mikepfeiffer.net/2010/03/managing-certificates-using-exchange-2010-management-shell/
При создании сертификата не забывайте добавлять основное имя сертификата к альтернативным именам, иначе аутлук будет ругаться на прокси-сервер и не даст подключиться.
# Creating
$cert = New-ExchangeCertificate -GenerateRequest -SubjectName “c=US, o=Litware, cn=mail.litware.internal” -DomainName
owa.litware.internal,mail.litware.internal -PrivateKeyExportable $true
$cert | Out-File c:cert.txt
# Go to site with Certsrv and get certificate – template Web-Server
# Import and assigning
Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:cert.cer -Encoding Byte -ReadCount 0))
Get-ExchangeCertificate -DomainName owa.litware.internal | Enable-ExchangeCertificate -Services IIS,SMTP
# Export for future use or backup
$file = Get-ExchangeCertificate -DomainName owa.litware.internal | Export-ExchangeCertificate -BinaryEncoded:$true -Password (Get-Credential).password
Set-Content -Path “c:cert.pfx” -Value $file.FileData -Encoding Byte
# Import exported and assigning
Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:cert.pfx -Encoding Byte -ReadCount 0)) -Password:(Get-Credential).password
Get-ExchangeCertificate -DomainName mail.litware.internal | Enable-ExchangeCertificate -Services IIS,SMTP
# Removing
Get-ExchangeCertificate | ?{$_.IsSelfSigned -eq $true} | Remove-ExchangeCertificate -Confirm:$false
И не вздумайте переключаться в панель управления и визуально продолжить начатое – получиться хрень.
OCS 2007 R2 Connectivity Test Smokeping – отслеживание доступности веб-сайта