exchange07 多主机名申请命令

28 Dec

[PS] C:\>New-ExchangeCertificate -PrivateKeyExportable $true -GenerateRequest -S
ubjectName "dc=com,dc=vv,o=dc01," -DomainName exchange,
,, -path c:\cas01.txt

Thumbprint  Services  Subject
———-  ——–  ——-
2486BBB924CC2EA6483580FB2E7FFFB04C841730  …..  DC=com, DC=vv, O=dc01, …

[PS] C:\>Import-ExchangeCertificate -path D:\certnew.cer -friendlyname ""
| Enable-ExchangeCertificate -services "iis,pop,imap,smtp"

Overwrite existing default SMTP certificate,
‘8E4AE970411E85A458F5E5DC5FF030958BEA3880’ (expires 7/20/2009 2:55:12 PM), with
certificate ‘9E0E27A3C8309EE9E8BB4A17290AAB918E3C2B16’ (expires 7/20/2010
9:06:09 PM)?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):y
[PS] C:\>Get-ExchangeCertificate | fl *

AccessRules  : {System.Security.AccessControl.CryptoKeyAccessRule, Syst
em.Security.AccessControl.CryptoKeyAccessRule, System.Se
CertificateDomains  : {, exchange,,
CertificateRequest  :
IisServices  : {IIS://dc01/W3SVC/1}
IsSelfSigned  : False
KeyIdentifier  : 36AF7F91BB0515589D9A0134A346460EC5AA306E
RootCAType  : Registry
Services  : IMAP, POP, IIS, SMTP
Status  : Valid
PrivateKeyExportable : True
Archived  : False
Extensions  : {System.Security.Cryptography.Oid, System.Security.Crypt
ography.Oid, System.Security.Cryptography.Oid, System.Se
curity.Cryptography.Oid, System.Security.Cryptography.Oi
d, System.Security.Cryptography.Oid, System.Security.Cry
ptography.Oid, System.Security.Cryptography.Oid}
FriendlyName  :
IssuerName  : System.Security.Cryptography.X509Certificates.X500Distin
NotAfter  : 7/20/2010 9:06:09 PM
NotBefore  : 7/20/2008 9:06:09 PM


Leave a comment

Posted by on December 28, 2008 in Exchange Server


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: