Hello,
I have to call webservice throught SSL (HTTPS).
For the first test I deployed testservice on Servicemix and exposed through
https.
I can call this service from SoapUI test client.
But whenn I try to call this service from cxfbc:provider deployed on the
same Servicemix, I become this *fault message*:

      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>Fault occured</faultstring>
         <detail>
            <detail>sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target</detail>
         </detail>
      </soap:Fault>

I use self signed certificates generated as described in the
amq_security.pdf guide.

Have You any idea or tips, what can be wrong?
It seems, the certificates on the client (cxfbc:provider) are not found.

Thank You
Radomir Kadlec

The configuration:
    <cxfbc:provider
        service="isl-a:IslAWebService"
        endpoint="IslAWebServiceSoapProvider"
        wsdl="classpath:wsdl/isl_a.wsdl"
        locationURI="https://localhost:8195/islAFile";
        >        
    </cxfbc:provider>

    <cxfbc:consumer    
        service="isl-a:IslAWebServiceFile"
        endpoint="IslAWebServiceSoapFile"
        locationURI="https://localhost:8195/islAFile";
        wsdl="classpath:wsdl/isl_a.wsdl"
        targetService="isl:fakturaFile"
        targetEndpoint="xquery"
        schemaValidationEnabled="true"
        delegateToJaas="true"
        properties="#properties"
        >
    </cxfbc:consumer>

    <httpt:conduit
name="{http://www.aura.cz/xrg/isl/a/v_1.0.0.0}IslAWebServiceSoapProvider.http-conduit";>
        <httpt:tlsClientParameters>
            <sec:trustManagers>
                <sec:keyStore
                    type="JKS"
                    password="jks123"
                    file="/opt/smx/truststore.ts" />
            </sec:trustManagers>
            <sec:keyManagers keyPassword="jks123">
                <sec:keyStore
                    type="JKS"
                    password="jks123"
                    file="${keyStore.file}" />
            </sec:keyManagers>
            <sec:cipherSuitesFilter>
                <sec:include>.*_WITH_3DES_.*</sec:include>
                <sec:include>.*_WITH_DES_.*</sec:include>
                <sec:exclude>.*_WITH_NULL_.*</sec:exclude>
                <sec:exclude>.*_DH_anon_.*</sec:exclude>
            </sec:cipherSuitesFilter>
        </httpt:tlsClientParameters>
        <httpt:authorization >
            <sec:UserName>ws_sluzba</sec:UserName>
            <sec:Password>h</sec:Password>
        </httpt:authorization>
    </httpt:conduit>


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/cxfbc-provider-with-SSL-tp5614411p5614411.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to