Hello friends,
I am a newbee. I am trying to create a pkcs12
certificate using the following command.
openssl pkcs12 -export -out file1.pkcs12 -in
file2.crt -inkey "some value" -passin pass:value1 -passout
pass:value2.
It generates a file1.pkcs12 certificate
correctly.
On the next instance I execute the
command
openssl pkcs12 -export -out file2.pkcs12 -in
file2.crt -inkey "some value" -passin pass:value1
On getting prompted for password : value2 (was
entered)
A pkcs12 certifictae file2.pkcs is
created.
Ideally both file1.pkcs12 and file2.pkcs12
should be same because all the parameters passed are same.
But its not the case. file1.pkcs12 and file2.pkcs12
are not same.
Can anyone please explain me why the two
certificates are different. Is this some kind of bug or I am missing
something.
Any help will be greatly appreciated.
Regards
Rohit
|