Create a certificate request on CAS server in Exchange 2007

Example 1:
New-ExchangeCertificate –GenerateRequest –Path c:CAS.txt –SubjectName cn=CAS1.YourDomainName.com –DomainName mail.YourDomainName.com, CAS1, CAS1.YourDomainName.com –IncludeAcceptedDomains –IncludeAutodiscover –PrivateKeyExportable $true
  Example 2:
New-ExchangeCertificate –GenerateRequest
  –SubjectName“cn=mail.YourDomain.com”`
 -DomainName webmail.YourDomainName.com, autodiscover.YourDomainName.com,
 mail.YourDomainName.com, cashub2007.YourDomain.local
–FriendlyName webmail.YourDomain.com
 –PrivateKeyExportable:$TRUE
–path c:cert_req.txt
 
 
 
 
 
Once this file is generated browse to your CA’s web interface and select the following:
Request a certificate
Advanced certificate request
Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file
Paste the contents of your c:CAS.txt file and for the type select web server
Make sure DER encoded is select and click on Download Certificate
 
Open Exchange Management Shell
Import-ExchangeCertificate -Path c:CAS.cer | Enable-ExchangeCertificate -Services IIS, SMTP
On the command above you can also import the certificate for use in other services, you can choose from the following
IIS,SMTP,POP,IMAP,UM
If you open the local computer Certificates MMC you should be able to browse to Certificates>Personal>Certificates and see your new certificate

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply