• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
OpenTechTips

OpenTechTips

Short Guides for IT Professionals

MENUMENU
  • HOME
  • ALL TOPICS
    • Active Directory
    • Exchange
    • InfoSec
    • Linux
    • Networking
    • Scripting
      • PowerShell
    • SSL
    • Virtualization
    • Web
    • Tools
  • ABOUT
  • SUBSCRIBE
Home » Display Contents of SSL Certificate from PEM File

Display Contents of SSL Certificate from PEM File

May 16, 2022 - by Zsolt Agoston - last edited on May 16, 2022

Get all certificate information (like stored keys, expiry date, SANs, etc) out of a pem (also crt, cer, etc)  public key file using openssl:

openssl x509 -text -in [certificate file]

Example

Display Contents of SSL Certificate from PEM File

Reader Interactions

Community Questions Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Tools

Secondary Sidebar

  • Terms of Use
  • Disclaimer
  • Privacy Policy