Velocity Technical Archive
Create a certificate request on CAS server in Exchange 2007
Archived Reference: This is a historical technical article preserved from the Velocity Technologies knowledge base. For current Phoenix and East Valley managed IT services, explore our managed IT services or cybersecurity solutions.
Example 1:\nNew-ExchangeCertificate –GenerateRequest –Path c:CAS.txt –SubjectName cn=CAS1.YourDomainName.com –DomainName mail.YourDomainName.com, CAS1, CAS1.YourDomainName.com –IncludeAcceptedDomains –IncludeAutodiscover –PrivateKeyExportable $true\n Example 2:\nNew-ExchangeCertificate –GenerateRequest\n –SubjectName"cn=mail.YourDomain.com"` \n -DomainName webmail.YourDomainName.com, autodiscover.YourDomainName.com,\n mail.YourDomainName.com, cashub2007.YourDomain.local\n–FriendlyName webmail.YourDomain.com\n –PrivateKeyExportable:$TRUE\n–path c:cert_req.txt\n \n \n \n \n \nOnce this file is generated browse to your CA's web interface and select the following:\nRequest a certificate\nAdvanced certificate request\nSubmit a certificate request by using a base-64-encoded CMC or PKCS #10 file\nPaste the contents of your c:CAS.txt file and for the type select web server\nMake sure DER encoded is select and click on Download Certificate\n \nOpen Exchange Management Shell\nImport-ExchangeCertificate -Path c:CAS.cer | Enable-ExchangeCertificate -Services IIS, SMTP\nOn the command above you can also import the certificate for use in other services, you can choose from the following\nIIS,SMTP,POP,IMAP,UM\nIf you open the local computer Certificates MMC you should be able to browse to Certificates>Personal>Certificates and see your new certificate