Skip to content

Instantly share code, notes, and snippets.

View victorpierredev's full-sized avatar
🌱
Be Kind to one another...

Victor Pierre victorpierredev

🌱
Be Kind to one another...
View GitHub Profile

Keybase proof

I hereby claim:

  • I am victorpierredev on github.
  • I am victorpierre (https://keybase.io/victorpierre) on keybase.
  • I have a public key whose fingerprint is AA3D 529A 3FBE EE6C 976F 17FD 77D5 98C0 667A 797B

To claim this, I am signing this object:

@victorpierredev
victorpierredev / openssl_checker.sh
Created January 22, 2016 14:56
Shell script to check SSL certificate info like expiration date and subject
#!/bin/bash
#modified from Alain Kelder's script
usage()
{
cat <<EOF
Usage: $(basename $0) [options]
This shell script is a simple wrapper around the openssl binary. It uses
s_client to get certificate information from remote hosts, or x509 for local
certificate files. It can parse out some of the openssl output or just dump all