Import IIS SSL into Openfire

Hi,

I have an SSL installed on a Windows 2008 server.

I need to import the SSL into OpenFire.

I exported ouit the cert from IIS to a .pfx file.

On a OpeenSSL/Apache server I created the cert pem and the key pem.

When I use the contents of the pem’s, from the import menu, I receive the error

There was an error one importing private key and signed certificate

Can anyone provide a solution?