To import a SSL Certificate use the below command
Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path c:\CERTNAME.pfx -Encoding byte -ReadCount 0)) -Password:(Get-Credential).password
To enable a service on the cert, make sure you get the thumbprint of the cert which you can get by using the following command Get-exchangecertificate |fl and then use the below command to assign a certificate.
Enable-ExchangeCertificate -Thumbprint E8C1BB735FA57C4E70988420CE247263AD92DC65 -Services "iis,imap,pop"
If you do SSL offloading then make sure you use the DoNotRequireSSL tag after the command look below for example
Enable-ExchangeCertificate -Thumbprint E8C1BB735FA57C4E70988420CE247263AD92DC65 -Services "iis,imap,pop" -DoNotRequireSsl
I LIKE YOUR SITE THANK YOU FOR SHARING.
ReplyDeleteComodo SSL Certificate Provider