New-ExchangeCertificate -generaterequest:1 -domainname domain.com,mail.domain.com,smtp.domain.com,pop3.domain.com -privatekeyexportable:1 -path c:\cert1.txt -force:1
OR
1. Generate certificate using web access to your Certification authority - logon as administrator
2. Export certificate to a location on the disk… c:\cert.pfx
3. Import-ExchangeCertificate -Path c:\cert.pfx –Password:(Get-Credential).password
the Get-Credential will open popup windows for credentials.
4. Enable-ExchangeCertificate -thumbprint 5ACC9A5D90E2CFDBCD6E25CD02362B851266810 -Services “IIS,POP,SMTP,IMAP”
5.Get-ExchangeCertificate ..to get all certificate list.
To remove old certificates:
Remove-ExchangeCertificate -Thumbprint …………
No comments:
Post a Comment