Created
January 26, 2013 13:21
-
-
Save iwinux/4642354 to your computer and use it in GitHub Desktop.
This file contains 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
openssl s_client -connect github.com:443 -showcerts 2>&1 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sed -ne '1,/-END CERTIFICATE-/p' > /tmp/github.com.pem | |
openssl x509 -in /tmp/github.com.pem -sha1 -noout -fingerprint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
对比墙内和墙外的输出即可确定墙内证书是否有问题。