summaryrefslogtreecommitdiffstats
path: root/httpstest
blob: 93dc9e03d9fcb3ad4bb770e35ccc00882f1f404c (plain)
1
2
3
4
5
#!/bin/bash

# usage: httpstest <domain>

openssl s_client -servername $1 -connect $1:${2:-443} </dev/null