![]() I verified that the certificate is not expired. While running the application, I can see remote server cert appearing in Jdev logs (after turning on ssl debugging), but still the application was facing : General SSLEngine error while calling remote server REST api. I uploaded to Demotrust.jks file in oracle middleware folder. I downloaded the cert from browser by loading the remote server URL. My application in Jdeveloper calls a REST api running in remote server. Let me explain my situation and solution. I also had similar issue in running my application in Jdeveloper 12.2.1.4.0. Hello to whoever still looking for an answer, ![]() : General SSLEngine problemĪt .checkThrown(Handshaker.java:1529)Īt .checkTaskThrown(SSLEngineImpl.java:535)Īt .writeAppRecord(SSLEngineImpl.java:1214)Īt .wrap(SSLEngineImpl.java:1186)Īt .wrap(SSLEngine.java:469)Īt .JaSSLEngine$1.run(JaSSLEngine.java:69)Īt .JaSSLEngine.doAction(JaSSLEngine.java:743)Īt .JaSSLEngine.wrap(JaSSLEngine.java:67)Īt (JSSEFilterImpl.java:771)Īt (JSSEFilterImpl.java:119)Īt (JSSEFilterImpl.java:87)Īt (JSSESocket.java:250)Īt .New(HttpsClient.java:577)Īt .New(HttpsClient.java:557)Īt .connect(HttpsURLConnection.java:265)Īt $Response.execute(HttpConnection.java:651)Īt $Response.execute(HttpConnection.java:628)Īt .execute(HttpConnection.java:260)Īt .get(HttpConnection.java:249)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:62)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:498)Īt .invokeJoinpointUsingReflection(AopUtils.java:333)Īt .invokeJoinpoint(ReflectiveMethodInvocation.java:190)Īt .proceed(ReflectiveMethodInvocation.java:157)Īt .MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)Īt .JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:101)Īt .proceed(ReflectiveMethodInvocation.java:179)Īt .AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)Īt .SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)Īt (Unknown Source)Īt .JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94)Īt .doProceed(DelegatingIntroductionInterceptor.java:133)Īt .invoke(DelegatingIntroductionInterceptor.java:121)Īt .invoke(JdkDynamicAopProxy.java:213)Īt .$Proxy254.execute(Unknown Source)Īt .SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)Īt .runWorker(ThreadPoolExecutor.java:1149)Īt $n(ThreadPoolExecutor.java:624)Ĭaused by: : General SSLEngine problemĪt .getSSLException(Alerts.java:192)Īt .fatal(SSLEngineImpl.java:1728)Īt .fatalSE(Handshaker.java:330)Īt .fatalSE(Handshaker.java:322)Īt .serverCertificate(ClientHandshaker.java:1614)Īt .processMessage(ClientHandshaker.java:216)Īt .processLoop(Handshaker.java:1052)Īt $1.run(Handshaker.java:992)Īt $1.run(Handshaker.java:989)Īt (Native Method)Īt $n(Handshaker.java:1467)Īt (JSSEFilterImpl.java:223)Īt (JSSEFilterImpl.java:123)Ĭaused by: : PKIX path building failed: .SunCertPathBuilderException: unable to find valid certification path to requested targetĪt .doBuild(PKIXValidator.java:397)Īt .engineValidate(PKIXValidator.java:302)Īt .validate(Validator.java:260)Īt 509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)Īt 509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)Īt 509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:105)Īt .JaTrustManager.checkServerTrusted(JaTrustManager.java:128)Īt .checkServerTrusted(SSLContextImpl.java:999)Īt .serverCertificate(ClientHandshaker.java:1601)Ĭaused by: .SunCertPathBuilderException: unable to find valid certification path to requested targetĪt .SunCertPathBuilder.build(SunCertPathBuilder.java:141)Īt .SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)Īt .build(CertPathBuilder.java:280)Īt .doBuild(PKIXValidator.java:392) ![]() Set JAVA_OPTIONS=%JAVA_OPTIONS% =trueĪm I missing something ? Any Suggestions ? Set JAVA_OPTIONS=%JAVA_OPTIONS% .renegotiation=true I have added server certificates to these both DemoTrust.jks and JDK CACERTS using this link :Īfter adding certificates, it looks like :Īs suggested by different posts, I have also added to startWeblogic.cmd ![]() Now when my application running on this server tries to download images from another server, it throws I am using weblogic server which has keystores in use like :
0 Comments
Leave a Reply. |