Category published:  Exchange 2007 Exchange 2010   Click on the Category button to get more articles regarding that product.

Exchange 2010 generate SSL-certficate request

Posted by admin on 13.01.2011

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, cn=rogue.computerladen.ch” -DomainName rogue.computerladen.ch -PrivateKeyExportable:$True
set-content -Path c:\edv\computerladen.ch.req -value $data

2 Send your ISP  the File computerladen.ch.req (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:\rogue.computerladen.ch.crt -Encoding byte -ReadCount 0))

6 Enbale the Certificate for IIS, Port 80

enable-exchangecertificate -identity 4DD1DB5C4FDFD35ADA823438FB94037E99474FCE -Services “IIS”

 


 Category published:  Exchange 2007 Exchange 2010   Click on the Category button to get more articles regarding that product.