PKCS are a group of public-key cryptography standards.
First of all, you need to format the PKCS file to make the John to recognize it.
pfx2john example.pfx > hash.txt
Crack the password using the formatted text.
john --wordlist=wordlist.txt hash.txt