Skip to content

Instantly share code, notes, and snippets.

@eklingen88
Created June 11, 2020 15:34
Show Gist options
  • Save eklingen88/50a3a23b9c8ddfffcd1797a2fead81f4 to your computer and use it in GitHub Desktop.
Save eklingen88/50a3a23b9c8ddfffcd1797a2fead81f4 to your computer and use it in GitHub Desktop.
Check for SSL via IP and hostname
#!/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