Check SSL validity and details


Check SSL validity and details


Check SSL validity and details

1. Get complete available details of an SSL certificate

openssl x509 -text -in ssl.cert

2. Who issued the certificate.

openssl x509 -noout -in ssl.cert -issuer

3. To whom the certificate was issued

openssl x509 -noout -in ssl.cert -subject

4. To check the expiry date of SSL certificate

openssl x509 -noout -in ssl.cert -dates

5. To get SSL cert’s hash value

openssl x509 -noout -in ssl.cert -hash

6. To get SSL cert’s MD5 fingerprint

openssl x509 -noout -in ssl.cert -fingerprint

7. To check CSR:
openssl req -noout -text -in new.csr

8. To check key:

openssl rsa -noout -text -in new.key

SSL verification on https

Use the following command to verify ssl from command line.

openssl s_client -showcerts -connect http://www.domain.com:443

Check service SSL details and validity

#cd /var/cpanel/ssl/
#cd dovecot/
#openssl x509 -text -in dovecot.crt
#openssl verify dovecot.crt

—————–>

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • Network monitoring on Linux

    Network monitoring on Linux This post mentions some linux command line tools that can be used to monitor the network usage. These tools monitor the traffic flowing through network interfaces and...

  • df -i /tmp folder is full

    Install tmwatchftp://ftp.muug.mb.ca/mirror/centos/6.5/os/x86_64/Packages/tmpwatch-2.9.16-4.el6.x86_64.rpmthen run  /usr/sbin/tmpwatch -am 1 /tmp/nginx_clientthen add cron filelike this0 */1 *...

  • Accessing a Fedora Logical Volume from Ubuntu

    A while back, I started experimenting with Ubuntu after playing with Fedora. I decided to jump to Ubuntu and needed to move data from the Fedora-managed logical volume to Ubuntu. Here's what I...

  • How to create a partition size larger than 2TB on Linux

    How to create a partition size larger than 2TB on Linux Parted is a GNU utility and used to create, manipulate and delete the hard disk partitions. Select the drive that you need to create #...

  • RSZDT

    what is RSZDT mean ? PROCESS STATE CODES -different values that the s, stat and state output specifiers(header “STAT” or “S”) will display to describe the state of a...