Skip to content

Instantly share code, notes, and snippets.

@nm777
Created May 21, 2025 19:21
Show Gist options
  • Save nm777/2de8193e259fdf90a1e3da20697b3303 to your computer and use it in GitHub Desktop.
Save nm777/2de8193e259fdf90a1e3da20697b3303 to your computer and use it in GitHub Desktop.
# Launch a network utility container in Kubernetes
kubectl run netutils --image=jonlabelle/network-tools -i -t --rm --command -- bash
# Delete the pod later
kubectl delete pod netutils
# Check a certificate with OpenSSL:
openssl s_client -showcerts -connect host.domain.com:1433
# For SQL Server sometimes you need to use nmap instead
nmap -v -Pn --script=ssl-cert -p 1433 host.domain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment