Here, you will need the OpenSSL toolkit, and use it to create a Privacy Enhanced Mail (PEM) file:
openssl pkcs12 -in p12keystore -nokeys -out permanentWaves.pem -passin pass:keystorepassword
This will produce a PEM file containing the certificate from the original keyStore.