source: trunk/locker/sbin/ssl-get-endtime @ 1569

Last change on this file since 1569 was 1569, checked in by adehnert, 15 years ago
Add script to check LDAP cert expiration
  • Property svn:executable set to *
File size: 187 bytes
Line 
1#!/bin/sh
2
3echo "echo '' | openssl s_client -connect $1 2>/dev/null | openssl x509 -enddate -noout" 1>&2
4echo '' | openssl s_client -connect $1 2>/dev/null | openssl x509 -enddate -noout
Note: See TracBrowser for help on using the repository browser.