Hi David,

You have to get the server certificate and set it in axis2.xml
<parameter name="SERVER_CERT">/path/to/ca/certificate</parameter>

You can find the documentation in [1].

Regards,
Shankar

[1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#ssl_client

On Tue, Jul 21, 2009 at 8:14 PM, David F.
Bakker<dbak...@arrayasolutions.com> wrote:
> I have a HTTPS SOAP service that does not need a client certificate. It seems 
> from the logs I need to generate a client certificate for SSL to work? I have 
> .net clients that work with this service without any issues. I am using 
> Axis2C 1.6
>
>
> [Tue Jul 21 10:23:09 2009] [info]  [ssl client] CA certificate not specified
> [Tue Jul 21 10:23:09 2009] [error] 
> ..\..\src\core\transport\http\sender\ssl\ssl_utils.c(51) Cannot find 
> certificates
> [Tue Jul 21 10:23:09 2009] [error] 
> ..\..\src\core\transport\http\sender\ssl\ssl_stream.c(101) Error occurred in 
> SSL engine
> [Tue Jul 21 10:23:09 2009] [error] 
> ..\..\src\core\transport\http\sender\http_client.c(287) Data stream creation 
> failed for Host blah.blah.com and 443 port
> [Tue Jul 21 10:23:09 2009] [error] 
> ..\..\src\core\transport\http\sender\http_client.c(550) client data stream  
> null or socket error for host blah.blah.com and 443 port
> [Tue Jul 21 10:23:09 2009] [error] 
> ..\..\src\core\transport\http\sender\http_client.c(554) A read attempt(HTTP) 
> for the reply without sending the request
> [Tue Jul 21 10:23:09 2009] [error] 
> ..\..\src\core\transport\http\sender\http_sender.c(1384) status_code < 0
> [Tue Jul 21 10:23:09 2009] [error] ..\..\src\core\engine\engine.c(179) 
> Transport sender invoke failed
>
> Regards,
> -David
>
>



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

Reply via email to