Exchange 2010 generate SSL-certficate request

by butsch 13. January 2011 15:36

1 Generate the Request in Powershell (Two Lines of code, -path does not work like we used in Exchange 2007)

$data = New-ExchangeCertificate -GenerateRequest -SubjectName "c=CH, S=BL, L=Aesch, o=Butsch Informatik," -DomainName -PrivateKeyExportable:$True
set-content -Path c:\edv\ -value $data

2 Send your ISP  the File (textfile). ISP or Comodo, Verisign, Thawtee and order the IIS7, 1024BIT, 1 year SSL

3 From the ISP you will get the cert file and several root files

4 Find the correct ID (Long number, as example: 4DD1DB5C4FDFD35ADA823438FB94037E99474FCE)

get-exchangecertificate | fl

5 Import the Certificate anwer

Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:\ -Encoding byte -ReadCount 0))

6 Enbale the Certificate for IIS, Port 80

enable-exchangecertificate -identity 4DD1DB5C4FDFD35ADA823438FB94037E99474FCE -Services "IIS"



Exchange 2007 | Exchange 2010

Comments are closed

Werbung von Drittfirmen (Nicht Butsch Informatik):

Werbung von Drittfirmen via Google Adsense: