Hello there,
Do you get any error message when you try to view the .pfx certificate ?
The EFS encrypted files have a lock displayed on the icon. To unlock these files, all you need to do is to log into your computer using the password.
The contents of a pfx file can be viewed in the GUI by right-clicking the PFX file and selecting Open (instead of the default action, Install). This will open mmc and show the pfx file as a folder. Open the pfx folder and the Certificates subfolder, and you will see the certificate(s) contained in the pfx.
Sometimes files and encryption keys can become corrupt due, for example, to a hard drive failure. It's also possible to lose access to an encrypted file because you have moved files or upgraded your computer.
If you have used EFS or a third-party software to encrypt a file, you may be able to unlock it using its file properties. Right-click the file in File Explorer, select Advanced and then clear the Encrypt Contents to Secure Data check box.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–