title: What is wrong with this pkcs12 file (pfx)
body: <p>I created a my private CA and form a pkcs12 certificate file for testing. I did this on my Linux box with openssl by:</p>
  <ol>
  <li><code>openssl req -config /etc/openssl.cnf -subj /CN=aa1@2C/O=Ruckus Wireless, Inc./ST=CA/C=US -batch -new -nodes -key users/2C.key -out users/2C.csr</code></li>
  <li><code>openssl ca -config /etc/openssl.cnf -extensions client_cert -batch -in users/2C.csr -out users/2C.crt</code></li>
  <li><code>openssl pkcs12 -export -out users/2C.pfx -inkey users/2C.key -in users/2C.crt -certfile cacert.pem -passout stdin</code></li>
  </ol>
  <p>After that, I copied the 2c.pfx to my Windows 7 machine and tried to install it, but the error message bumped out:</p>
  <blockquote>
  <p>Invalid Public Key Security Object File:
  This file is invalid for use as the following:Personal Information Exchange.</p>
  </blockquote>
  <p>What is the reason for this? Did I create a broken pfx file?</p>