Re: setting server cert from the api

2009-09-01 Thread Kevin Steves
On Tue, Sep 01, 2009 at 09:05:53AM +0530, Selvaratnam Uthaiyashankar wrote: : You have to create an axutil_property_t* and set the server cert : there. The following snippet is wrong: : : : axis2_options_set_property(options, env, AXIS2_SSL_SERVER_CERT, : server_cert_path) : : : It should be :

Re: setting server cert from the api

2009-08-31 Thread Selvaratnam Uthaiyashankar
Hi, You have to create an axutil_property_t* and set the server cert there. The following snippet is wrong: axis2_options_set_property(options, env, AXIS2_SSL_SERVER_CERT, server_cert_path) It should be axutil_property_t* property =axutil_property_create_with_args(env, 0, 0, 0, server_cert_pa

Re: setting server cert from the api

2009-08-31 Thread Kevin Steves
haven't figured this out yet, but what I am seeing in tracing with gdb, is we get to http_sender.c:axis2_http_sender_configure_server_cert(). axis2_msg_ctx_get_property() returns a non-NULL (axutil_property_t*), however the value member has a non-NULL but invalid pointer (as returned by axutil_pro

Re: setting server cert from the api

2009-08-28 Thread Kevin Steves
On Fri, Aug 28, 2009 at 08:44:44PM +0530, Selvaratnam Uthaiyashankar wrote: : Can you attach your client code? yes, attached. #include #include #include #include #include #include #include #include #define CLIENT_HOME "/usr/local/axis2c"; void usage(void); axiom_node_t *build_om_pay

Re: setting server cert from the api

2009-08-28 Thread Selvaratnam Uthaiyashankar
Can you attach your client code? Regards, Shankar On Fri, Aug 28, 2009 at 3:24 AM, Kevin Steves wrote: > On Thu, Aug 27, 2009 at 09:26:32PM +0530, Selvaratnam Uthaiyashankar wrote: > : Can you try whether following works for you? > : > : axis2_options_set_property(options, env, AXIS2_SSL_SERVER_C

Re: setting server cert from the api

2009-08-27 Thread Kevin Steves
On Thu, Aug 27, 2009 at 09:26:32PM +0530, Selvaratnam Uthaiyashankar wrote: : Can you try whether following works for you? : : axis2_options_set_property(options, env, AXIS2_SSL_SERVER_CERT, property); thanks. tried that. it crashes in openssl now. some kind of pointer issue. any ideas? [Thu

Re: setting server cert from the api

2009-08-27 Thread Selvaratnam Uthaiyashankar
Hi, Can you try whether following works for you? axis2_options_set_property(options, env, AXIS2_SSL_SERVER_CERT, property); Regards, Shankar On Thu, Aug 27, 2009 at 4:35 AM, Kevin Steves wrote: > Is the only way to do this via axis2_http_client_set_server_cert()? > > if so, how does one get a (