Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. echo -n "Enter the host name and press [ENTER]: "
  4. read host
  5. echo | openssl s_client -connect $host:443 2>/dev/null | openssl x509 -noout -text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement