Hi,
I think the password itself is at fault. PowerShell allows you to export the certificate with a password containing special characters while this might cause unexpected behavior on other portals.
I would suggest attempting to use a different password for exporting the .pfx file, and looking out for the backtick " ` " character as usually this is the culprit.
BR,
Peter