I tried using the latest binary drop which is using Axis3 but it does not contain HTTPSSLChannel.dll as I had some problems building the source I went back to use the axis 1.4 release which is using axis2 but this binary drop does not contain AxisTransport2.dll it just has AxisTransport.dll so I used that and Axis2SSLChannel.dll as it was already built and changed http to https, but it crashes somewhere in AXISTRANSPORT! 00efd94f().
Please help :) Vince. -----Original Message----- From: Fred Preston [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 5:22 AM To: Apache AXIS C Developers List Subject: Re: SSL exception Hi Roopnaraine, If you are using Axis2 transport, then you need to build the OpenSSLChannel files in transport/axis2/ssl. This will produce an additional library called something like Axis2SSLChannel.dll (filename will vary slightly depending on platform). Once you have built the SSL library you need to tell the client by adding an additional line to your configuration file (i.e. Channel_ssl:<directorypath>/Axis2SSLChannel.dll). To use SSL change your http URL from HTTP to HTTPS and AxisClient will redirect your message through the SSLChannel library. I'm not sure which libraries are needed on which platform, but for Windows it is ssleay32.lib and libeay32.lib and for Linux and AIX, you will require crypto.so and ssl.so. We are in the process of moving to Axis3 transport (HTTPTransport.dll or libhttp_transport.so depending on platform) which is very similar to Axis2, but requires an additional definition in the config file. Here are the differences:- #Old - Axis2 ClientLogPath:C:\Build\ws-axis\c\bin\ClientLog.log Transport_http:C:\Build\ws-axis\c\bin\AxisTransport2.dll XMLParser:C:\Build\ws-axis\c\bin\AxisXMLParser.dll Channel_ssl:C:\Build\ws-axis\c\bin\Axis2SSLChannel.dll #New - HTTP ClientLogPath:C:\Build\ws-axis\c\bin\ClientLog.log Transport_http:C:\Build\ws-axis\c\bin\HTTPTransport.dll XMLParser:C:\Build\ws-axis\c\bin\AxisXMLParser.dll Channel_HTTP_SSL:C:\Build\ws-axis\c\bin\HTTPSSLChannel.dll Channel_HTTP:C:\Build\ws-axis\c\bin\HTTPChannel.dll If you are using Axis3 transport, then you need to build the files in transport/axis3, transport/axis3/HTTPChannel and transport/axis3/HTTPSSLChannel (on windows, these will produce HTTPTransport.dll, HTTPChannel.dll and HTTPSSLChannel.dll and on non-windows platforms will produce libhttp_transport.so, libhttp_channel.so and libhttp_channelssl.so). NB: If you are using ANT to build your environment, then you will require the environment variable OPENSSL_HOME to be set to the base directory of your OpenSSL installation before doing a build. Regards, Fred Preston. "Jairam, Roopnaraine" To: "Apache AXIS C User List" <[email protected]> <Roopnaraine.Jair cc: <[email protected]> [EMAIL PROTECTED]> Subject: SSL exception 24/01/05 22:56 Please respond to "Apache AXIS C Developers List" I'm trying code my client to use ssl, but I'm getting an exception each time I connect. |----------------------------------------------------------------------- ---| |Warning - The configuration file was not found (/axiscpp.conf). | |Exception : AxisSSLChannelException:OpenSSL Error code is: | |error:140790E5:SSL ro | |utines:SSL23_WRITE:ssl handshake failure | |----------------------------------------------------------------------- ---| All you have to do to get your client code to use ssl is to change http to https and have the following files: ssleay32.dll xsec_1_1_0.dll libeay32.dll Axis2SSLChannel.dll in your client directory or path right? Vince.
