PEM uses RSA encryption.
First of all, you need to format the PEM file to make the John to recognize it.
pem2john example.pem > hash.txt
Crack the hash.
john --wordlist=wordlist.txt hash.txt