Last active
          January 4, 2018 19:16 
        
      - 
      
- 
        Save mhou1981/163f5ea3b6358d9d2a23f919e21e6c12 to your computer and use it in GitHub Desktop. 
    Check SSL Certificate Creation and Expiration Date
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| echo | openssl s_client -servername ${NAME} -connect ${HOST:-localhost}:${PORT:-443} 2>/dev/null | openssl x509 -noout -dates | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment