I solved the problem.
For this problem certificate, I needed to export the entire certificate hierarchy through Browser. I took the generated .CER files, copied the content and pasted it into the PEM file following the same hierarchy as the installed PFX, and it worked.