PowerShell – list MS Exchange Certificates

How to list the available certificates on your exchange server, when you run into an event ID 12014 error.

<br>CLS</p> <p># Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010</p> <p># Add Exchange 2010 commandlets (if not added)<br>if(!(Get-PSSnapin | <br>Where-Object {$_.name -eq <br>"Microsoft.Exchange.Management.PowerShell.E2010"})) {<br>ADD-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010<br>}</p> <p>Get-ExchangeCertificate | fl <br>

Output is like this :

AccessRules        : {System.Security.AccessControl.CryptoKeyAccessRule, …
CertificateDomains : {owa.group.com, mail.group.com, autodiscover.group.com}
HasPrivateKey      : True
IsSelfSigned       : False
Issuer             : CN=Trusted SSL CA, O="Trusted, Inc.", C=US
NotAfter           : 3/04/2019 7:53:44
NotBefore          : 1/03/2012 16:25:22
PublicKeySize      : 2048
RootCAType         : ThirdParty
SerialNumber       : 014xxx
Services           : None
Status             : Valid
Subject            : CN=owa.group.com, OU=Group - IT, O=Group, L=Local, …
Thumbprint         : 0AE4D67E3BC6CBA5AFBD3...

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: