{"id":125,"date":"2010-11-09T11:20:53","date_gmt":"2010-11-09T08:20:53","guid":{"rendered":"http:\/\/rexxer.kharkov.ru\/?p=125"},"modified":"2010-11-09T11:20:53","modified_gmt":"2010-11-09T08:20:53","slug":"sozdanie-sertifikata-dlya-exchange-20102007","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=125","title":{"rendered":"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0434\u043b\u044f Exchange 2010(2007)"},"content":{"rendered":"<p>\u0412\u0437\u044f\u0442\u043e \u043e\u0442\u0441\u044e\u0434\u0430: <a href=\"http:\/\/www.mikepfeiffer.net\/2010\/03\/managing-certificates-using-exchange-2010-management-shell\/\" target=\"_blank\">http:\/\/www.mikepfeiffer.net\/2010\/03\/managing-certificates-using-exchange-2010-management-shell\/<\/a><\/p>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0438\u043c\u044f \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043a \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0430\u043c, \u0438\u043d\u0430\u0447\u0435 \u0430\u0443\u0442\u043b\u0443\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043d\u0435 \u0434\u0430\u0441\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f.<\/p>\n<p># Creating<br \/>\n$cert = New-ExchangeCertificate -GenerateRequest -SubjectName \u201cc=US, o=Litware, cn=mail.litware.internal\u201d -DomainName<\/p>\n<p>owa.litware.internal,mail.litware.internal -PrivateKeyExportable $true<\/p>\n<p>$cert | Out-File c:cert.txt<\/p>\n<p># Go to site with Certsrv and get certificate &#8211; template Web-Server<\/p>\n<p># Import and assigning<br \/>\nImport-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:cert.cer -Encoding Byte -ReadCount 0))<\/p>\n<p>Get-ExchangeCertificate -DomainName owa.litware.internal | Enable-ExchangeCertificate -Services IIS,SMTP<\/p>\n<p># Export for future use or backup<br \/>\n$file = Get-ExchangeCertificate -DomainName owa.litware.internal | Export-ExchangeCertificate -BinaryEncoded:$true -Password (Get-Credential).password<\/p>\n<p>Set-Content -Path \u201cc:cert.pfx\u201d -Value $file.FileData -Encoding Byte<\/p>\n<p># Import exported and assigning<br \/>\nImport-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:cert.pfx -Encoding Byte -ReadCount 0)) -Password:(Get-Credential).password<\/p>\n<p>Get-ExchangeCertificate -DomainName mail.litware.internal | Enable-ExchangeCertificate -Services IIS,SMTP<\/p>\n<p># Removing<br \/>\nGet-ExchangeCertificate | ?{$_.IsSelfSigned -eq $true} | Remove-ExchangeCertificate -Confirm:$false<\/p>\n<p>\u0418 \u043d\u0435 \u0432\u0437\u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0432 \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043d\u0430\u0447\u0430\u0442\u043e\u0435 &#8211; \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0445\u0440\u0435\u043d\u044c.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0437\u044f\u0442\u043e \u043e\u0442\u0441\u044e\u0434\u0430: http:\/\/www.mikepfeiffer.net\/2010\/03\/managing-certificates-using-exchange-2010-management-shell\/ \u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0438\u043c\u044f \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043a \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0430\u043c, \u0438\u043d\u0430\u0447\u0435 \u0430\u0443\u0442\u043b\u0443\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043d\u0435 \u0434\u0430\u0441\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f. # Creating $cert = New-ExchangeCertificate -GenerateRequest -SubjectName \u201cc=US, o=Litware, cn=mail.litware.internal\u201d -DomainName owa.litware.internal,mail.litware.internal -PrivateKeyExportable $true $cert | Out-File c:cert.txt # Go to site with Certsrv and get certificate &#8211; template Web-Server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,13],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-exchange","category-novosti"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":0,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}