Hello
 
I'm newbie to openSSL. I'm trying to create a pkcs12 file with Win32 OpenSSL 0.97d.
I've generated a CSR with keytool. I got my cert file generated by a CA and a private key file (generated by keytool).
The following command :
 
OpenSSL> pkcs12 -export -inkey domain.key -in domain.crt -out domain.pkcs12
 
make the following error :
 
Loading 'screen' into random state - done
unable to load private key
error in pkcs12
 
Most posts i've read about this error talk about 0.96 bug. But i'm in 0.97 ...
I've not found in openssl.cnf definition of private key location ... but i think it must be in same directory that crt file ? ( {openssl-install-dir}/bin exactly ...)
 
Can it come from a bad private key format ?
 
Thanks for your help ...
 
Pierre
 

Reply via email to