Hi, I had imported the cert from the login page with cn login.salesforce.com. Once i got a cn of *.salesforce.com it works.
Thank you all Regards, M.R.Aaquibah Nashry *Intern, Engineering**| **WSO2, Inc.* Mobile : +94 773946123 Tel : +94 112662541 Email : [email protected] <[email protected]> On Tue, Aug 18, 2015 at 7:35 PM, Bhathiya Jayasekara <[email protected]> wrote: > This is the exact error I mentioned on the other thread[1]. > > [1] "[Dev] [ESB] 101500 ERROR_MESSAGE : Error in Sender" > > Thanks, > > On Tue, Aug 18, 2015 at 9:48 AM, Malaka Silva <[email protected]> wrote: > >> Try importing the certificate to client-truststore.jks? >> >> >> https://docs.wso2.com/display/ESB481/Setting+Up+Keystores+for+a+Client+and+a+Service >> >> On Tue, Aug 18, 2015 at 6:15 PM, Aaquibah Nashry <[email protected]> wrote: >> >>> Hi Rajjaz, >>> >>> I got new security token and tried. still same error. And yes i have put >>> the password and the token together. the thing is, this used to work fine >>> just a few days back. I think this error occurs due to some expired >>> certificate or something. But cant figure out where exactly. >>> >>> Thanks >>> >>> Regards, >>> >>> M.R.Aaquibah Nashry >>> *Intern, Engineering**| **WSO2, Inc.* >>> Mobile : +94 773946123 >>> Tel : +94 112662541 >>> Email : [email protected] <[email protected]> >>> >>> On Tue, Aug 18, 2015 at 5:59 PM, Rajjaz Mohammed <[email protected]> >>> wrote: >>> >>>> Hi Aaquibah, >>>> i got the same error because of Security Token so can you check your >>>> credentials once again and for the Salesforce password is a combination of >>>> the user password plus the security token provided by Salesforce. >>>> >>>> On Tue, Aug 18, 2015 at 3:51 PM, Aaquibah Nashry <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am getting the following error when i try to run a proxy which gets >>>>> data from salesforce. Any idea how to solve this? >>>>> >>>>> TID: [0] [ESB] [2015-08-18 06:14:17,256] INFO >>>>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - >>>>> '[email protected] [-1234]' logged in at [2015-08-18 >>>>> 06:14:17,256-0400] >>>>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} >>>>> TID: [0] [ESB] [2015-08-18 06:15:34,645] INFO >>>>> {org.apache.synapse.mediators.builtin.LogMediator} - To: >>>>> /services/SalesforceProxy.SalesforceProxyHttpSoap12Endpoint, WSAction: >>>>> urn:mediate, SOAPAction: urn:mediate, MessageID: >>>>> urn:uuid:89a301b5-e7c4-4781-91c8-e4c677e2e4db, Direction: request, STATE = >>>>> OPP {org.apache.synapse.mediators.builtin.LogMediator} >>>>> TID: [0] [ESB] [2015-08-18 06:15:34,657] INFO >>>>> {org.apache.synapse.mediators.builtin.LogMediator} - Connection = Login >>>>> to >>>>> Salesforce ..... {org.apache.synapse.mediators.builtin.LogMediator} >>>>> TID: [0] [ESB] [2015-08-18 06:15:36,639] ERROR >>>>> {org.apache.synapse.transport.passthru.TargetHandler} - I/O error: >>>>> General >>>>> SSLEngine problem {org.apache.synapse.transport.passthru.TargetHandler} >>>>> javax.net.ssl.SSLHandshakeException: General SSLEngine problem >>>>> at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1252) >>>>> at >>>>> sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:514) >>>>> at >>>>> sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1173) >>>>> at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1145) >>>>> at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469) >>>>> at >>>>> org.apache.http.nio.reactor.ssl.SSLIOSession.doWrap(SSLIOSession.java:220) >>>>> at >>>>> org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254) >>>>> at >>>>> org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:380) >>>>> at >>>>> org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118) >>>>> at >>>>> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160) >>>>> at >>>>> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342) >>>>> at >>>>> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320) >>>>> at >>>>> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280) >>>>> at >>>>> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) >>>>> at >>>>> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604) >>>>> at java.lang.Thread.run(Thread.java:701) >>>>> Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine >>>>> problem >>>>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) >>>>> at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1660) >>>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:289) >>>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:281) >>>>> at >>>>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1255) >>>>> at >>>>> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:200) >>>>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:848) >>>>> at sun.security.ssl.Handshaker$1.run(Handshaker.java:788) >>>>> at sun.security.ssl.Handshaker$1.run(Handshaker.java:786) >>>>> at java.security.AccessController.doPrivileged(Native Method) >>>>> at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1189) >>>>> at >>>>> org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238) >>>>> at >>>>> org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:270) >>>>> ... 9 more >>>>> Caused by: sun.security.validator.ValidatorException: PKIX path >>>>> building failed: >>>>> sun.security.provider.certpath.SunCertPathBuilderException: unable to find >>>>> valid certification path to requested target >>>>> at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:386) >>>>> at >>>>> sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:293) >>>>> at sun.security.validator.Validator.validate(Validator.java:260) >>>>> at sun.security.validator.Validator.validate(Validator.java:236) >>>>> at >>>>> sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:147) >>>>> at >>>>> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:230) >>>>> at >>>>> sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:270) >>>>> at >>>>> sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1234) >>>>> ... 17 more >>>>> Caused by: sun.security.provider.certpath.SunCertPathBuilderException: >>>>> unable to find valid certification path to requested target >>>>> at >>>>> sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:197) >>>>> at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:255) >>>>> at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:381) >>>>> ... 24 more >>>>> TID: [0] [ESB] [2015-08-18 06:15:36,646] WARN >>>>> {org.apache.synapse.endpoints.EndpointContext} - Endpoint : >>>>> AnonymousEndpoint will be marked SUSPENDED as it failed >>>>> {org.apache.synapse.endpoints.EndpointContext} >>>>> TID: [0] [ESB] [2015-08-18 06:15:36,647] WARN >>>>> {org.apache.synapse.endpoints.EndpointContext} - Suspending endpoint : >>>>> AnonymousEndpoint - last suspend duration was : 2000ms and current suspend >>>>> duration is : 2000ms - Next retry after : Tue Aug 18 06:15:38 EDT 2015 >>>>> {org.apache.synapse.endpoints.EndpointContext} >>>>> >>>>> I have attached the proxy. >>>>> >>>>> Thanks >>>>> Regards, >>>>> >>>>> M.R.Aaquibah Nashry >>>>> *Intern, Engineering**| **WSO2, Inc.* >>>>> Mobile : +94 773946123 >>>>> Tel : +94 112662541 >>>>> Email : [email protected] <[email protected]> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Thank you >>>> Best Regards >>>> >>>> *Rajjaz HM* >>>> Associate Software Engineer >>>> WSO2 Inc. <http://wso2.com/> >>>> lean | enterprise | middleware >>>> Mobile : +94752833834 >>>> Email :[email protected] >>>> LinkedIn | Blogger | WSO2 Profile >>>> <http://wso2.com/about/team/mohammer_rajjaz/> >>>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> >> Best Regards, >> >> Malaka Silva >> Senior Tech Lead >> M: +94 777 219 791 >> Tel : 94 11 214 5345 >> Fax :94 11 2145300 >> Skype : malaka.sampath.silva >> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >> Blog : http://mrmalakasilva.blogspot.com/ >> >> WSO2, Inc. >> lean . enterprise . middleware >> http://www.wso2.com/ >> http://www.wso2.com/about/team/malaka-silva/ >> <http://wso2.com/about/team/malaka-silva/> >> >> Save a tree -Conserve nature & Save the world for your future. Print this >> email only if it is absolutely necessary. >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Bhathiya Jayasekara* > *Senior Software Engineer,* > *WSO2 inc., http://wso2.com <http://wso2.com>* > > *Phone: +94715478185 <%2B94715478185>* > *LinkedIn: http://www.linkedin.com/in/bhathiyaj > <http://www.linkedin.com/in/bhathiyaj>* > *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* > *Blog: http://movingaheadblog.blogspot.com > <http://movingaheadblog.blogspot.com/>* >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
