Categories
Archive
![]() Blogroll
|
How to import SSL certificate to Exchange Server 2010 with Powershell?
Posted in Exchange Server, Windows Powershell | No Comment | 2,231 views | 04/10/2009 02:48
We generated a certificate request before. Now, we’ll import our SSL certificate to Exchange Server 2010 with Powershell. Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path C:\Exchange.p7b -Encoding byte -ReadCount 0)) -Password:(Get-Credential).password As you see, we can’t use -Path command with Import-ExchangeCertificate anymore. Importing SSL certificate in Exchange Server 2007: Import-ExchangeCertificate -path C:\Exchange.p7b If you try to execute Exchange Server 2007 command, you get this error: A positional parameter cannot be found that accepts argument ‘-path’.
+ CategoryInfo : InvalidArgument: (:) [Import-ExchangeCertificate], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Import-ExchangeCertificate After importing SSL certificate, you can use Enable-ExchangeCertificate to enable SSL on services.
Tags: exchange 2010 ssl cert, exchange server 2010 certificate import, hosted exchange ssl powershell, import SSL certificate exchange server 2010
Leave a Reply
|