Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11220

Web console: NPE in web agent in case of using SSL and trust manager is not set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: wizards
    • Labels:
      None

      Description

      To reproduce you need to set in default.properties 'node-key-store' and 'node-key-store-password' and not set 'node-trust-store' and 'node-trust-store-password'
      After you start web agent you will get

      Exception in thread "main" java.lang.NullPointerException: trustManager == null
              at okhttp3.OkHttpClient$Builder.sslSocketFactory(OkHttpClient.java:805)
              at org.apache.ignite.console.agent.rest.RestExecutor.<init>(RestExecutor.java:118)
              at org.apache.ignite.console.agent.AgentLauncher.main(AgentLauncher.java:391)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kuaw26 Alexey Kuznetsov
                Reporter:
                pkonstantinov Pavel Konstantinov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m