keytool -exportcert -alias 作者 -keystore 文件位置 | openssl sha1 -binary | openssl base64 keytool在jdk下有,这边主要是提供下在windows下的openssl这工具。