Created
June 11, 2020 15:34
-
-
Save eklingen88/50a3a23b9c8ddfffcd1797a2fead81f4 to your computer and use it in GitHub Desktop.
Check for SSL via IP and hostname
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
#!/usr/bin/env bash | |
$IP_ADDRESS= | |
$DOMAIN_NAME= | |
openssl s_client -showcerts -connect $IP_ADDRESS:443 -servername $DOMAIN_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment