tsslget - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
tsslget (176B)
---
1 #!/bin/sh
2 #
3 # retrieve SSL certificate of a website
4 # it assumes 443 to be the default SSL port
5
6 echo | openssl s_client -connect $@:443 2>&1| sed '/BEGIN CERT/,/END CERT/p;d'