On Wed, Mar 11, 2009 at 1:49 PM, Vladimir Kotal <[email protected]> wrote: > > Hello, > > In case the openssl verify command is not able to process input file, it > reports the usage even if the usage is perfectly okay: > > $ openssl verify -CAfile /local/Saved/SMI_SSL_CA-chain.pem cert.cer > Error loading file /local/Saved/SMI_SSL_CA-chain.pem
^^^ that's the error line. (Yes, rather low on content, but this is most probably due to OpenSSL not being able to open that file at all.) Did you check the access rights and if the file exists at that precise location? > BIO_printf(bio_err, "Error loading file %s\n", > CAfile); > ERR_print_errors(bio_err); > goto end; ^^^ the fact that ERR_print_errors() did not produce any output implies that the code did not get past the 'trying to open this file' point. Still, there should have been an extra error line from ERR_print_errors() if my recall of OpenSSL internals is correct. Hm.... checking... -- Met vriendelijke groeten / Best regards, Ger Hobbelt -------------------------------------------------- web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: [email protected] mobile: +31-6-11 120 978 -------------------------------------------------- ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
