Usually I fetch Android Package (APK) Certificate information using the below command :
keytool -printcert -jarfile
but recently I
Select Gradle project from Right side then
app->Tasks->android->signingReport
Double Click on signingReport after click on then you can see MD5 into Run View.
If you signing keystore file then you should run below command into terminal.
keytool -list -v -keystore C:\Users\MG\Desktop\test.jks -alias test