The file type is not recognizable. Select another file – Import pfx file into IIS

October 2, 2013 Jordansphere Apache

I wanted to move a wildcard SSL certificate from Apache to IIS 7.5.

From the server running Apache server I exported it using:

openssl pkcs12 -export -out jordansphere.pfx -inkey jordansphere_cert.key  -in jordansphere_cert.pem

I then FTP'd this to my IIS server and tried to import. However, this message appeared: "The file type is not recognizable. Select another file"

 

After much troubleshooting it turned out that I was FTP'ing the file up using ASCII mode and all I needed to do was change the transfer mode to binary !

FTP binary ascii file SSL certificate,

Powered by WordPress. Designed by elogi.