The Goldfish

blogging it so I dont forget it
  • Home

Archive

Posts Tagged ‘openssl’

Checking SSL certificate expiry dates

June 1st, 2011 No comments

This is just a quick note to save this useful bit of information. I may make in to a script one day or use it in something else.

1
echo ''|openssl s_client -connect localhost:636 2>/dev/null | openssl x509 -noout -enddate | sed 's/^not.*\=//'
Categories: Bash, Linux, Sysadmin Tags: bash, openssl, sed, ssl certificate, s_client
RSS
Twitter

Random Posts

  • Parallel multi process bash with return codes
  • Python HTTPConnection bound to network interface
  • Checking SSL certificate expiry dates
  • Repairing MySQL multi-master replication
  • Reverting to a previous snapshot using Linux LVM

Tag Cloud

bash Centos development Django fedora grub httplib kickstart Linux multi-master mysql openssl Python replication sed ssl certificate stunnel s_client thrift

Categories

  • AMQP
  • Bash
  • Centos
  • Django
  • Libvirt
  • Linux
  • LVM
  • Mysql
  • Python
  • Sysadmin
  • Uncategorized

Blogroll

  • Andy Millar
  • Blog What I Made
  • Nick Wade

Archives

  • September 2011
  • August 2011
  • June 2011
  • November 2010
  • August 2010
  • July 2010
  • January 2010
  • December 2009
  • May 2009

Meta

  • Log in
Top WordPress
Copyright © 2009-2011 The Goldfish
Theme by NeoEase. Valid XHTML 1.1 and CSS 3.