I'm hoping someone has a clue for me.  I can't get the example pkwrite to work correctly, even given a PEM from elsewhere in the distribution.
I'm compiling with Visual C 6.0 with SP 6, and I removed the compiler options (a tip I picked up elsewhere in this list to prevent a crash.)
Having compiled openssl to produce the DLL's, and compiling pkwrite as well, it always gives me the error:
 
Error creating PKCS#12 structure
2380:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:637:Expecting: ANY PRIVATE KEY
2380:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:637:Expecting: CERTIFICATE
2380:error:23069068:PKCS12 routines:PKCS12_create:invalid null argument:.\crypto\pkcs12\p12_crt.c:85:
 
It seems to not be able to parse the PEM to locate the start lines.  Can you think of a reason this might have gone wrong for me?  The openssl.exe itself seems to work fine.
 
Thanks in advance
 
Kevin


Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

Reply via email to