Exchange 2007 申请多域名证书

 

1.生成新证书请求

New-ExchangeCertificate -GenerateRequest -DomainName mail.tiancang.net, autodiscover.tiancang.net, ex2007.contoso.com, autodiscover.contoso.com  -Path c:\certreq.txt -PrivateKeyExportable $true

注:红色字体替换自己实际企业的DNS主机名称

2.把生成的certreq.txt在企业自己的证书机构申请证书(如:http://dc01.abc.local/certsrv)

注:在saved request中,在certificate template中选择web server,点击submit,选择Base 64 encoded,点击download certificate,生成certnew.cer

3.导入证书

Import-ExchangeCertificate -path c:\certnew.cer

4.查找指纹

Get-ExchangeCertificate | fl

查看里面的thumbprint参数

5.启用证书

enable-ExchangeCertificate -thumbprint 6B6A7C9A2661D3D2BA40DDBFF724DC998A8A71B5 -services "IIS,SMTP,IMAP,POP,UM"

注:红色字体替代之前看到的thumbprint参数