SSL cert check

Below are the different ways to check the SSL cert and its validity remotely

NMAP is used to check the port and services running on the remote machine

$nmap --script ssl-cert -p PORT URL


The OpenSSL program is a command-line tool for using the various cryptography functions of OpenSSL's crypto library from the shell.  It can be used for


  1. Creation and management of private keys, public keys and parameters
  2. Public key cryptographic operations
  3. Creation of X.509 certificates, CSRs and CRLs
  4. Calculation of Message Digests
  5. Encryption and Decryption with Ciphers
  6. SSL/TLS Client and Server Tests
  7. Handling of S/MIME signed or encrypted mail
  8. Time Stamp requests, generation and verification


openssl s_client -showcerts -connect URL:PORT

Comments

Popular posts from this blog

AWS: Auto Scaling

Jenkins Pipeline

EC2-Instances-awscli