I just found a very nice article on Kyle Alons's blog, about how to convert a certificate from the cer/pvk format to the pfx format:

http://www.kinook.com/blog/?p=10