プライベート CA を作成し、テスト用に pkcs12 証明書ファイルを作成しました。openssl を使用して Linux ボックスでこれを行いました。
- (1) 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
- (2) openssl ca -config /etc/openssl.cnf -extensions client_cert -batch -in users/2C.csr -out users/2C.crt
- (3) openssl pkcs12 -export -out users/2C.pfx -inkey users/2C.key -in users/2C.crt -certfile cacert.pem -passout stdin
その後、Windows 7 マシンに 2c.pfx をコピーしてインストールしようとしましたが、次のようなエラー メッセージが表示されました: Invalid Public Key Security Object File: This file is invalid for use as the following:Personal Information Exchange.
これを引き起こす理由は何ですか?間違った pfx ファイルを作成しましたか?