【Vegas原创】Exchange Server 2007中设置多主机名称证书

1.打开"Exchange 命令行管理程序",输入以下命令:
new-exchangecertificate -privatekeyexportable $true -generaterequest -subjectname "dc=local,dc=mht,o=mht Corporation,cn=server-dc01.mht.local" -domainname server-dc01,missionhealthtec.com,server-dc01.mht.local,mail.missionhealthtec.com,missionhealthtec.com.cn,mail.missionhealthtec.com.cn,remote.missionhealthtec.com,remote.missionhealthtec.com.cn -path c:\certVegas.txt
2.使用IE打开CA的证书服务页面,然后选择"申请一个证书"=>"高级证书申请"=>选择"中间"一项=>Paste 第一步骤txt文档的内容=>下载证书

3.返回到"Exchange 命令行管理程序"中执行以下命令:

import-exchangecertificate -path c:\certnew.cer -friendlyname "mission" | enable-exchangecertificate -services "IIS,POP,IMAP,SMTP"

参考文档:http://bbs.winos.cn/viewthread.php?tid=30239&extra=page%3D2%26amp%3Bfilter%3Ddigest

原文地址:https://www.cnblogs.com/amadeuslee/p/3744237.html