I am working with an application that is to generate https requests,
verification of the server is being done.

Unfortunately, I cannot get the trusted certificate file read.
This is the error message:
error:02001002:system library:fopen:No such file or directory

However, I am printing the certfile and path to the log as well:
Using '/opt/MyAPP/test/conf/trusted-ca.crt' for CertFile.

Which is assembled as follows in the code:
  sprintf(errbuf, "Using '%s%s' for CertFile.", dir, file);
  log_error(errbuf);

Notice the '/' between the path and the file, the dir buffer is holding
the trailing '/'.
I have tried this both with and without, and as near as I can figure it
isn't the problem.

I have checked permissions on the file, and it is owned by the process
id and group, and readable by all - and of course it is in the right
place.


The error I provided above is the OpenSSL error as reported by
ERR_error_string(ERR_get_error(), errbuf)

Does it shed any light?

--
Louis LeBlanc - Software Engineer - Mirror Image Internet, Inc.
http://www.mirror-image.com       [EMAIL PROTECTED]
Phone: 781.376.1186                            Fax:781.376.1110



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to