Thanks for the response. this was useful. Now I got the readable message as : *** error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
I have checked this & server certificate is expired. As this is an internal server for us, so as of now i want to ignore this error & want to communicate with the server. Is there any way to bypass this error & still have the normal https communication with the server ? I know that this is not the proper way to do the https, but for the time i want to test my client & server people are working of the certificate, so that will be sorted out in meantime. Once again, thanks a lot for your response. cheers ! On Fri, Apr 11, 2008 at 2:43 PM, <[EMAIL PROTECTED]> wrote: > Hello, > > [EMAIL PROTECTED] wrote on 04/11/2008 06:05:31 AM: > > > Thanks for the reply. I really appreciate it ! I have tried initializing > the library, > > but still facing same problem. > > - Is there anyway to decode the error string "error:00000001::lib(0) > :func(0) :reason > > (1)", to find out what is actually going wrong ? means what does > reason(1) stands here for ? > > - Is a distributable certificate is must for making a https connection ? > I have checked > > with the server owner, as per the feedback they are not using any client > site > > certificates & having certificate only on the server side (which I need > not to worry). > > By the way we are using same web services, there everything is working > fine, this > > problem which i am facing is only on mac. > > > > Please let me know if there is anything else which I can check here. > > > > Here is the code which i have written, rest all code is autogenerated by > gsoap. thanks > > > > SSL_load_error_strings(); /* readable error messages > */ > > int value = SSL_library_init(); > > LicenseManagerHttpBinding licenseService; > > licenseService.endpoint = " > https://10.102.48.28:8443/LicenseManager/services/LicenseManager"; > > > > _ns1__Checkout ns1__Checkout; > > _ns1__CheckoutResponse ns1__CheckoutResponse_; > > > > value = licenseService.__ns1__Checkout(&ns1__Checkout, > &ns1__CheckoutResponse_); // > > Web Service function call ... which fails as per the details in below > thread. > > Try to use something like: > > int log_ssl(void) > { > char buf[256]; > u_long err; > > while ((err = ERR_get_error()) != 0) { > ERR_error_string_n(err, buf, sizeof(buf)); > printf("*** %s\n", buf); > } > > return (0); > } > > instead of one call to ERR_error_string(). > In OpenSSL you have stack of errors and you should print them all. > Next errors may be more informative. > > Best regards, > -- > Marek Marcola <[EMAIL PROTECTED]> > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] >