Skip to content

Check SSL Certificate with OpenSSL

Find out how to check SSL certificate with OpenSSL command. Alternatively, you can always use TrackSSL to check SSL status online. Simply enter your website’s hostname below.

Whether you’re managing a single domain or multiple servers, OpenSSL lets you quickly check SSL certificate details. Find out expiration dates, and encryption settings to keep your website up and secure.

Don’t risk security warnings, expired certificates, or misconfiguration – Check SSL Certificate with OpenSSL or test SSL certificate online!

Useful OpenSSL Commands for Checking SSL Certificates

OpenSSL is a powerful tool for managing and validating SSL certificates. Below are some essential commands for examining SSL certificates and ensuring proper configuration.

1. Checking SSL Certificate Details

To retrieve details about your SSL certificate, including issuer, expiration date, and subject information.

openssl x509 -in certificate.crt -text -noout

2. Checking a CSR (Certificate Signing Request)

Ensure your CSR is correctly formatted and verify its contents:

openssl req -text -noout -verify -in CSR.csr

3. Verifying a Private Key

Confirm that your private key is valid and correctly formatted:

openssl rsa -in privateKey.key -check

4. Checking SSL Certificate and Private Key Match

If you experience errors like “Private Key does not match the Certificate,” use the following commands to verify:

openssl x509 -noout -modulus -in certificate.crt | openssl md5
openssl rsa -noout -modulus -in privateKey.key | openssl md5
openssl req -noout -modulus -in CSR.csr | openssl md5

5. Testing an SSL Connection

To check if the SSL certificate is correctly installed and if all intermediate certificates are present:

openssl s_client -connect www.example.com:443

6. Converting SSL Certificate Formats

Convert a DER (.crt/.cer) certificate to PEM format:

openssl x509 -inform der -in certificate.cer -out certificate.pem

Convert a PEM certificate to a PKCS#12 (.pfx) file:

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

Ensure your website’s SSL security by checking SSL certificates with OpenSSL. TrackSSL provides an easy-to-follow guide and powerful tools to help you verify certificate validity, diagnose errors, and debug TLS/SSL configurations.

Stop downtime before it happens

Prevent website downtime, lost business, and reputation damage. TrackSSL allows you to check SSL status and learn about expiration date, changes, and fraudulent certs.


Certificate Expiration Notifications

Never be blindsided again. As your certificate nears expiration, TrackSSL will notify you via email, Slack, SMS, Teams, and more. Are you certain your Let’s Encrypt cron job is running?



Certificate Change Monitoring

Keep tabs on your hosting provider or certificate renewal automation. TrackSSL alerts you whenever your SSL certificate changes. When your certificate is updated, we’ll notify you.



Certificate Transparency Alerts

Get instantly notified whenever a new certificate is issued for your domain. Certificate Transparency Logs give you critical visibility to protect your brand from fraudulent certs. Coming Soon!


Trusted by Thousands

You’re in Good Company

TrackSSL is used by businesses and agencies large and small. Teams all over the world trust TrackSSL to monitor their private SSL and TLS certificates, expiration, changes, and transparency.

Monitoring more than 23,000 certs.

Recent Updates

  • Introducing organizations in TrackSSL

    We’ve added a powerful “organizations” feature to TrackSSL — giving you the flexibility to manage multiple separate workspaces under a single account. It’s perfect for agencies, companies with multiple teams, or anyone managing distinct clients or environments. What is an organization With organizations, you can keep domains, notifications, team members, and billing completely separate for…

  • Team management in TrackSSL

    We’ve launched a new team management feature that makes it easier to collaborate and stay organized in TrackSSL. You can now invite teammates, assign roles, and control access to different parts of your organization – all from a simple, clean interface. Work better together From the team management page, you can: Roles and permissions Admin…

  • 10 Downdetector Alternatives for Outage Monitoring in 2025

    Downdetector is one of the most widely known platforms for tracking outages. On their website, you can see what internet services, websites, mobile apps, and providers are currently down. By collecting user-submitted outage reports, Downdetector shows issues as they happen. Businesses can also access the Downdetector API to integrate real-time incident data directly into their…