3 Replies Latest reply on Dec 19, 2019 4:49 AM by ehugonnet

    ] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.

    shitalp1

      Hi,

       

      My application tries to connect with Tibco and it uses Wildlfy. Connection with Tibco is established successfully but on the Wildfly JMS it throws error as:

       

      11:50:42,517 ERROR [stderr] (default task-4) 2019-12-16 11:50:42.517 [24463701 default task-4] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.

      11:50:42,527 ERROR [io.undertow.request] (default task-4) UT005023: Exception handling request to /DmMethods/servlet/DoMethod: javax.servlet.ServletException: java.lang.reflect.InvocationTargetException

       

       

      I need help in resolving this error, our project go-live is delayed because of this issue.

       

      Thanks.

        • 1. Re: ] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.
          ctomc

          hard to tell what is going on, without any proper stacktrace.

           

          it would be a wild guess, but are you running wildfly with -c standalone-full.xml

          as AFAIK tibco needs JMS which is not avalible in default standalone.xml config.

          • 2. Re: ] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.
            shitalp1

            Adding the full stacktrace:

             

            2019-12-06 06:14:16,284 ERROR [stderr] (Thread-141) 2019-12-06 06:14:16.284 [1230117927 Thread-141] [TIBCO EMS]: [J] [SSL] initializing security with vendor 'j2se-default'

            2019-12-06 06:14:16,291 ERROR [stderr] (Thread-141) 2019-12-06 06:14:16.291 [1230117927 Thread-141] [TIBCO EMS]: [J] [SSL] client version 6.3.0, security version 3.0.0, SSL initialized with vendor 'j2se'

            2019-12-06 06:14:16,292 ERROR [stderr] (Thread-141) 2019-12-06 06:14:16.292 [1230117927 Thread-141] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.

            2019-12-06 06:14:16,296 ERROR [stderr] (Thread-141) Exception in thread "Thread-141" java.lang.ExceptionInInitializerError

            2019-12-06 06:14:16,296 ERROR [stderr] (Thread-141)  at java.lang.Class.forName0(Native Method)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at java.lang.Class.forName(Class.java:264)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at com.tibco.security.impl.ooOO.init(SecurityVendor.java:128)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at com.tibco.security.impl.ooOO.init(SecurityVendor.java:84)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at com.tibco.security.impl.ooOO.getInstance(SecurityVendor.java:161)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at com.tibco.security.TrustedCertsFactory.o00000(TrustedCertsFactory.java:92)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at com.tibco.security.TrustedCertsFactory.createTrustedCerts(TrustedCertsFactory.java:59)

            2019-12-06 06:14:16,297 ERROR [stderr] (Thread-141)  at com.tibco.security.ssl.NullCertificateVerifier.<init>(NullCertificateVerifier.java:32)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:282)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:390)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1308)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:4185)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:36)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:191)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:253)

            2019-12-06 06:14:16,298 ERROR [stderr] (Thread-141)  at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTopicConnectionFactory.java:88)

            2019-12-06 06:14:16,301 ERROR [stderr] (Thread-141)  at java.lang.Thread.run(Thread.java:745)

            2019-12-06 06:14:16,301 ERROR [stderr] (Thread-141) Caused by: java.lang.RuntimeException: cannot find JSSE security provider: check CLASSPATH

            2019-12-06 06:14:16,301 ERROR [stderr] (Thread-141)  at com.tibco.security.providers.SecurityVendor_j2se.<clinit>(SecurityVendor_j2se.java:53)

            2019-12-06 06:14:16,301 ERROR [stderr] (Thread-141)  ... 31 more

             

             

            Please help us in fixing this error.

            • 3. Re: ] [TIBCO EMS]: [J] [SSL] WARNING: server verification is disabled, will trust any server.
              ehugonnet

              How are you using the TIBCO jar ? Did you create a module for it ? Is the tibcrypt jar part of your classpath ?