Error while calling secured webservice from Mule Project -
need call secured web service 1 of mule projects. have created self signed certificate , configured project follows:
1)keep keystore.jks inside resource folder of project
2)defined https connector in globals.xml file
<https:connector name="movilcashhttpsconnector" doc:name="http-https" clientsotimeout="10000" cookiespec="netscape" receivebacklog="0" receivebuffersize="0" sendbuffersize="0" serversotimeout="10000" socketsolinger="0" validateconnections="true"> <https:tls-key-store path="keystore.jks" keypassword="changeit" storepassword="changeit" /> <https:tls-server path="keystore.jks" storepassword="changeit" /> </https:connector>
3) while calling https endpoint have used following configuration
<https:outbound-endpoint method="post" doc:name="http" exchange-pattern="request-response" transformer-refs="message_properties2" responsetimeout="90000" address="https://partners.masmovilcash.com/telepinweb/tpinbulkloading?batchtype=7&fileext=png&fileabbrv=c_r&filetype=kyc_documents&customerid=#[flowvars['tpin-customerid']]&filesequence=2" connector-ref="movilcashhttpsconnector"> </https:outbound-endpoint>
4)deployed project in linux server mule standalone running.
but unfortunately each , every time getting following error:
message : failed route event via endpoint: defaultoutboundendpoint{endpointuri=https://partners.masmovilcash.com/telepinweb/json-rpc, connector=httpsconnector message payload of type: postmethod (org.mule.api.transport.dispatchexception) sun.security.validator.validatorexception: no trusted certificate found @ sun.security.validator.simplevalidator.buildtrustedchain(simplevalidator.java:384) *******************************************************************************
am missing something? please help.
Comments
Post a Comment