Thank you so much, it's work after installed Openssl.exe.
power shell Script to get certificate "SMTP O365"
Mohammad Al Amoudi
0
Reputation points
Hello,
I need to show Office365 SMTP certificate in power shell, I was tried below Script but get error.
"s_client -showcerts -starttls smtp -crlf -connect smtp.office365.com:587"
Please help me to do that.
Windows for business | Windows Server | User experience | PowerShell
2 answers
Sort by: Most helpful
-
MotoX80 37,596 Reputation points2023-12-03T18:47:49.8966667+00:00 What error do you get? Where did you get this "s_client" script?
Are you trying to run the Openssl application? That has nothing to do with Powershell.
https://www.misterpki.com/openssl-s-client/
I used the Digicert utility to display the cert.
https://www.digicert.com/support/tools/certificate-utility-for-windows