Created
June 29, 2023 20:28
-
-
Save deckerego/46f6d56a683e3a484f040bc89069ac89 to your computer and use it in GitHub Desktop.
Find the TLS fingerprint for GitHub Actions token server
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
#!/bin/bash | |
openssl s_client -servername token.actions.githubusercontent.com -showcerts -connect token.actions.githubusercontent.com:443 2>/dev/null < /dev/null | \ | |
openssl x509 -fingerprint -sha1 -noout | \ | |
grep Fingerprint | \ | |
tr -d ':' | \ | |
tr '[:upper:]' '[:lower:]' | \ | |
cut -f2 -d= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment