ssl lib has been added
This commit is contained in:
parent
3b79969fa4
commit
a6bc66a028
|
@ -0,0 +1,7 @@
|
|||
function cert_fingerprint() {
|
||||
openssl s_client -connect $1:443 </dev/null | openssl x509 -fingerprint -noout
|
||||
}
|
||||
|
||||
function cert_info() {
|
||||
openssl s_client -connect $1:443 -servername $1 </dev/null | openssl x509 -noout -text
|
||||
}
|
Loading…
Reference in New Issue