Hi all,

Got the same issue for MB 3.2.0 when running integration tests.

Workaround :-
replace jks files inside test suit -> resources -> keystore.products folder
from jks files taken from a wum updated MB 3.2.0 pack.

Thanks,
Lahiru

On Wed, Dec 13, 2017 at 9:10 AM, Viduranga Gunarathne <vidura...@wso2.com>
wrote:

> Hi,
>
> Please find the link below
>
> https://stackoverflow.com/questions/23322676/javax-net-
> ssl-sslhandshakeexception-sun-security-validator-validatorexception
>
> Thanks,
> Viduranga
>
> On Tue, Dec 12, 2017 at 9:35 PM, Senuwan Withana <senu...@wso2.com> wrote:
>
>> Thank Guys, I will look into it.
>>
>> *Senuwan Withana*
>> Software Engineer - Support Team | WSO2
>>
>> Email : senu...@wso2.com
>> Mobile: 94773212853
>> Web: http://www.wso2.com
>>
>>
>>
>> On Tue, Dec 12, 2017 at 7:23 PM, Godwin Shrimal <god...@wso2.com> wrote:
>>
>>> Hi Senuwan,
>>>
>>> Check the validity period of the certificate of the ESB. Maybe it's
>>> expired.
>>>
>>> Thanks
>>> Godwin
>>>
>>> On Tue, Dec 12, 2017 at 6:41 PM, Senuwan Withana <senu...@wso2.com>
>>> wrote:
>>>
>>>> Hi Abimaran,
>>>>
>>>> Well, I did not generate any certificate. What I did was, tried to
>>>> create an API using WSO2 API Manager, Publisher. When I was adding
>>>> Production Endpoint that mentioned error was popping up.
>>>>
>>>> Thanks.
>>>> *Senuwan Withana*
>>>> Software Engineer - Support Team | WSO2
>>>>
>>>> Email : senu...@wso2.com
>>>> Mobile: 94773212853
>>>> Web: http://www.wso2.com
>>>>
>>>>
>>>>
>>>> On Tue, Dec 12, 2017 at 5:06 PM, Abimaran Kugathasan <abima...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hi Senuwan,
>>>>>
>>>>> By checking your exception, it says, your certificate is expired. You
>>>>> have to generate a new certificate.
>>>>>
>>>>> Caused by: java.security.cert.CertificateExpiredException: NotAfter:
>>>>> Mon Jun 19 14:43:07 IST 2017
>>>>>
>>>>> On Tue, Dec 12, 2017 at 4:41 PM, Senuwan Withana <senu...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> I got below error when I'm trying to connect my ESB proxy into the
>>>>>> API Manager.  Any suggestion to solve this error?
>>>>>>
>>>>>>
>>>>>> [2017-12-12 16:38:56,137] ERROR - APIProviderHostObject Error
>>>>>> occurred while connecting to backend : https://localhost:8243/service
>>>>>> s/EmailSender, reason : sun.security.validator.ValidatorException:
>>>>>> PKIX path validation failed: 
>>>>>> java.security.cert.CertPathValidatorException:
>>>>>> timestamp check failed
>>>>>> javax.net.ssl.SSLHandshakeException: 
>>>>>> sun.security.validator.ValidatorException:
>>>>>> PKIX path validation failed: 
>>>>>> java.security.cert.CertPathValidatorException:
>>>>>> timestamp check failed
>>>>>> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
>>>>>> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
>>>>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
>>>>>> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
>>>>>> at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHa
>>>>>> ndshaker.java:1514)
>>>>>> at sun.security.ssl.ClientHandshaker.processMessage(ClientHands
>>>>>> haker.java:216)
>>>>>> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
>>>>>> at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
>>>>>> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
>>>>>> at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSo
>>>>>> cketImpl.java:1375)
>>>>>> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.
>>>>>> java:1403)
>>>>>> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.
>>>>>> java:1387)
>>>>>> at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLS
>>>>>> ocketFactory.java:533)
>>>>>> at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLS
>>>>>> ocketFactory.java:401)
>>>>>> at org.apache.http.impl.conn.DefaultClientConnectionOperator.op
>>>>>> enConnection(DefaultClientConnectionOperator.java:178)
>>>>>> at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(M
>>>>>> anagedClientConnectionImpl.java:304)
>>>>>> at org.apache.http.impl.client.DefaultRequestDirector.tryConnec
>>>>>> t(DefaultRequestDirector.java:610)
>>>>>> at org.apache.http.impl.client.DefaultRequestDirector.execute(D
>>>>>> efaultRequestDirector.java:445)
>>>>>> at org.apache.http.impl.client.AbstractHttpClient.doExecute(Abs
>>>>>> tractHttpClient.java:863)
>>>>>> at org.apache.http.impl.client.CloseableHttpClient.execute(Clos
>>>>>> eableHttpClient.java:82)
>>>>>> at org.apache.http.impl.client.CloseableHttpClient.execute(Clos
>>>>>> eableHttpClient.java:106)
>>>>>> at org.apache.http.impl.client.CloseableHttpClient.execute(Clos
>>>>>> eableHttpClient.java:57)
>>>>>> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.sen
>>>>>> dHttpHEADRequest(APIProviderHostObject.java:4781)
>>>>>> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsF
>>>>>> unction_isURLValid(APIProviderHostObject.java:4173)
>>>>>> at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
>>>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>>>>> thodAccessorImpl.java:43)
>>>>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>>>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>>>>>> at org.mozilla.javascript.FunctionObject.call(FunctionObject.ja
>>>>>> va:386)
>>>>>> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime
>>>>>> .java:52)
>>>>>> at org.jaggeryjs.rhino.publisher.modules.api.c3._c_anonymous_10
>>>>>> (/publisher/modules/api/add.jag:225)
>>>>>> at org.jaggeryjs.rhino.publisher.modules.api.c3.call(/publisher
>>>>>> /modules/api/add.jag)
>>>>>> at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRunti
>>>>>> me.java:2430)
>>>>>> at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.
>>>>>> java:269)
>>>>>> at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObjec
>>>>>> t.java:97)
>>>>>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime
>>>>>> .java:42)
>>>>>> at org.jaggeryjs.rhino.publisher.modules.api.c0._c_anonymous_5(
>>>>>> /publisher/modules/api/module.jag:18)
>>>>>> at org.jaggeryjs.rhino.publisher.modules.api.c0.call(/publisher
>>>>>> /modules/api/module.jag)
>>>>>> at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime
>>>>>> .java:52)
>>>>>> at org.jaggeryjs.rhino.publisher.site.blocks.item_add.ajax.c0._
>>>>>> c_anonymous_2(/publisher/site/blocks/item-add/ajax/add.jag:233)
>>>>>> at org.jaggeryjs.rhino.publisher.site.blocks.item_add.ajax.c0.c
>>>>>> all(/publisher/site/blocks/item-add/ajax/add.jag)
>>>>>> at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime
>>>>>> .java:23)
>>>>>> at org.jaggeryjs.rhino.publisher.site.blocks.item_add.ajax.c0._
>>>>>> c_script_0(/publisher/site/blocks/item-add/ajax/add.jag:9)
>>>>>> at org.jaggeryjs.rhino.publisher.site.blocks.item_add.ajax.c0.c
>>>>>> all(/publisher/site/blocks/item-add/ajax/add.jag)
>>>>>> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFacto
>>>>>> ry.java:394)
>>>>>> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime
>>>>>> .java:3091)
>>>>>> at org.jaggeryjs.rhino.publisher.site.blocks.item_add.ajax.c0.c
>>>>>> all(/publisher/site/blocks/item-add/ajax/add.jag)
>>>>>> at org.jaggeryjs.rhino.publisher.site.blocks.item_add.ajax.c0.e
>>>>>> xec(/publisher/site/blocks/item-add/ajax/add.jag)
>>>>>> at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(Rhi
>>>>>> noEngine.java:567)
>>>>>> at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngi
>>>>>> ne.java:273)
>>>>>> at org.jaggeryjs.jaggery.core.manager.WebAppManager.exec(WebApp
>>>>>> Manager.java:588)
>>>>>> at org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(Web
>>>>>> AppManager.java:508)
>>>>>> at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServ
>>>>>> let.java:29)
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>>> lter(ApplicationFilterChain.java:303)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>>> licationFilterChain.java:208)
>>>>>> at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
>>>>>> ationDispatcher.java:747)
>>>>>> at org.apache.catalina.core.ApplicationDispatcher.processReques
>>>>>> t(ApplicationDispatcher.java:485)
>>>>>> at org.apache.catalina.core.ApplicationDispatcher.doForward(App
>>>>>> licationDispatcher.java:377)
>>>>>> at org.apache.catalina.core.ApplicationDispatcher.forward(Appli
>>>>>> cationDispatcher.java:337)
>>>>>> at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFil
>>>>>> ter.java:21)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>>> lter(ApplicationFilterChain.java:241)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>>> licationFilterChain.java:208)
>>>>>> at org.wso2.carbon.ui.filters.cache.ContentTypeBasedCachePreven
>>>>>> tionFilter.doFilter(ContentTypeBasedCachePreventionFilter.java:53)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>>> lter(ApplicationFilterChain.java:241)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>>> licationFilterChain.java:208)
>>>>>> at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>>>>> r(HttpHeaderSecurityFilter.java:120)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>>>>> lter(ApplicationFilterChain.java:241)
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>>>>> licationFilterChain.java:208)
>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>>>>>> dWrapperValve.java:218)
>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(Standar
>>>>>> dContextValve.java:122)
>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>>>>>> uthenticatorBase.java:505)
>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>>>>>> stValve.java:169)
>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>>>>>> rtValve.java:103)
>>>>>> at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInv
>>>>>> ocation(CompositeValve.java:99)
>>>>>> at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke
>>>>>> (CarbonTomcatValve.java:47)
>>>>>> at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(Tena
>>>>>> ntLazyLoaderValve.java:57)
>>>>>> at org.wso2.carbon.event.receiver.core.internal.tenantmgt.Tenan
>>>>>> tLazyLoaderValve.invoke(TenantLazyLoaderValve.java:48)
>>>>>> at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invok
>>>>>> eValves(TomcatValveContainer.java:47)
>>>>>> at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(Comp
>>>>>> ositeValve.java:62)
>>>>>> at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetection
>>>>>> Valve.invoke(CarbonStuckThreadDetectionValve.java:159)
>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>>>>>> lve.java:958)
>>>>>> at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.
>>>>>> invoke(CarbonContextCreatorValve.java:57)
>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>>>>>> EngineValve.java:116)
>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>>>>>> apter.java:452)
>>>>>> at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>>>>>> tractHttp11Processor.java:1087)
>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>>>>>> .process(AbstractProtocol.java:637)
>>>>>> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
>>>>>> (NioEndpoint.java:1756)
>>>>>> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(N
>>>>>> ioEndpoint.java:1715)
>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>>>>> Executor.java:1142)
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>>>>> lExecutor.java:617)
>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
>>>>>> un(TaskThread.java:61)
>>>>>> at java.lang.Thread.run(Thread.java:748)
>>>>>> Caused by: sun.security.validator.ValidatorException: PKIX path
>>>>>> validation failed: java.security.cert.CertPathValidatorException:
>>>>>> timestamp check failed
>>>>>> at sun.security.validator.PKIXValidator.doValidate(PKIXValidato
>>>>>> r.java:352)
>>>>>> at sun.security.validator.PKIXValidator.engineValidate(PKIXVali
>>>>>> dator.java:260)
>>>>>> at sun.security.validator.Validator.validate(Validator.java:260)
>>>>>> at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustMana
>>>>>> gerImpl.java:324)
>>>>>> at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509Trust
>>>>>> ManagerImpl.java:229)
>>>>>> at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X50
>>>>>> 9TrustManagerImpl.java:124)
>>>>>> at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHa
>>>>>> ndshaker.java:1496)
>>>>>> ... 89 more
>>>>>> Caused by: java.security.cert.CertPathValidatorException: timestamp
>>>>>> check failed
>>>>>> at sun.security.provider.certpath.PKIXMasterCertPathValidator.v
>>>>>> alidate(PKIXMasterCertPathValidator.java:135)
>>>>>> at sun.security.provider.certpath.PKIXCertPathValidator.validat
>>>>>> e(PKIXCertPathValidator.java:219)
>>>>>> at sun.security.provider.certpath.PKIXCertPathValidator.validat
>>>>>> e(PKIXCertPathValidator.java:140)
>>>>>> at sun.security.provider.certpath.PKIXCertPathValidator.engineV
>>>>>> alidate(PKIXCertPathValidator.java:79)
>>>>>> at java.security.cert.CertPathValidator.validate(CertPathValida
>>>>>> tor.java:292)
>>>>>> at sun.security.validator.PKIXValidator.doValidate(PKIXValidato
>>>>>> r.java:347)
>>>>>> ... 95 more
>>>>>> Caused by: java.security.cert.CertificateExpiredException: NotAfter:
>>>>>> Mon Jun 19 14:43:07 IST 2017
>>>>>> at sun.security.x509.CertificateValidity.valid(CertificateValid
>>>>>> ity.java:274)
>>>>>> at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.ja
>>>>>> va:629)
>>>>>> at sun.security.provider.certpath.BasicChecker.verifyTimestamp(
>>>>>> BasicChecker.java:190)
>>>>>> at sun.security.provider.certpath.BasicChecker.check(BasicCheck
>>>>>> er.java:144)
>>>>>> at sun.security.provider.certpath.PKIXMasterCertPathValidator.v
>>>>>> alidate(PKIXMasterCertPathValidator.java:125)
>>>>>> ... 100 more
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> *Senuwan Withana*
>>>>>> Software Engineer - Support Team | WSO2
>>>>>>
>>>>>> Email : senu...@wso2.com
>>>>>> Mobile: 94773212853
>>>>>> Web: http://www.wso2.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks
>>>>> Abimaran Kugathasan
>>>>> Senior Software Engineer - API Technologies
>>>>>
>>>>> Email : abima...@wso2.com
>>>>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>>>>
>>>>> <http://stackoverflow.com/users/515034>
>>>>> <http://lk.linkedin.com/in/abimaran>
>>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>>>>> <https://twitter.com/abimaran>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>> <https://www.linkedin.com/in/godwin-amila-2ba26844/>*
>>> twitter: https://twitter.com/godwinamila
>>> <http://wso2.com/signature>
>>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> *Viduranga Gunarathne*
>
> *Software Engineer Intern*
>
>
> *WSO2*
> Email : vidura...@wso2.com
> Mobile : +94712437484 <+94%2071%20243%207484>
> Web : http://wso2.com
> [image: https://wso2.com/signature] <https://wso2.com/signature>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to