I first had to export the certificate to a P12 file. Then I had to
double click that file to import it to windows, making sure I toggled
the "make eksportable option" . Then I was able to export to a PFX file.

Bjarne Havnen