keytool get certificate from keystore code example
Example: jks export certificate
keytool -export -keystore examplestore -alias signFiles -file Example.cer
keytool -export -keystore examplestore -alias signFiles -file Example.cer