Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-388

DailyPlan raises SSLHandshakeException called by InventoryPlugin when JobScheduler has HTTPS configuration

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.11.5, 1.12
    • None

    Description

      Current Situation

      If the JobScheduler has a HTTPS configuration

      ...
         <config http_port="localhost:40411" https_port="oh.sos:48411" mail_xslt_stylesheet="config/scheduler_mail.xsl">
      ....
         </config>
      

      and a job, order or schedule is updated then the InventoryPlugin calls the DailyPlan with the HTTPS url and the following error is raised

      18 17:33:28.111 com.sos.jitl.inventory.data.InventoryEventUpdateUtil [INFO ] - [inventory] Custom Event published on object Job:/path/to/jobXY!
      18 17:33:28.125 com.sos.jitl.inventory.data.InventoryEventUpdateUtil [WARN ] - [inventory] processing of DB transactions not finished due to errors: com.sos.JSHelper.Exceptions.JobSchedulerException: SchedulerObjectFactory::run: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)
      com.sos.JSHelper.Exceptions.JobSchedulerException: SchedulerObjectFactory::run: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)
      	at com.sos.scheduler.model.SchedulerObjectFactory.run(SchedulerObjectFactory.java:269)
      	at com.sos.scheduler.model.answers.JSCmdBase.run(JSCmdBase.java:52)
      	at com.sos.jitl.dailyplan.db.Calendar2DB.getSchedulerId(Calendar2DB.java:336)
      	at com.sos.jitl.dailyplan.db.Calendar2DB.initSchedulerConnection(Calendar2DB.java:263)
      	at com.sos.jitl.dailyplan.db.Calendar2DB.addDailyplan2DBFilter(Calendar2DB.java:125)
      	at com.sos.jitl.inventory.data.InventoryEventUpdateUtil.updateDailyPlan(InventoryEventUpdateUtil.java:714)
      	at com.sos.jitl.inventory.data.InventoryEventUpdateUtil.processDbTransaction(InventoryEventUpdateUtil.java:661)
      	at com.sos.jitl.inventory.data.InventoryEventUpdateUtil.processGroupedEvents(InventoryEventUpdateUtil.java:441)
      	at com.sos.jitl.inventory.data.InventoryEventUpdateUtil.processEventType(InventoryEventUpdateUtil.java:750)
      	at com.sos.jitl.inventory.data.InventoryEventUpdateUtil.execute(InventoryEventUpdateUtil.java:238)
      	at com.sos.jitl.inventory.data.InventoryEventUpdateUtil.execute(InventoryEventUpdateUtil.java:205)
      	at com.sos.jitl.inventory.plugins.InitializeInventoryInstancePlugin.executeEventBasedInventoryProcessing(InitializeInventoryInstancePlugin.java:269)
      	at com.sos.jitl.inventory.plugins.InitializeInventoryInstancePlugin.access$200(InitializeInventoryInstancePlugin.java:44)
      	at com.sos.jitl.inventory.plugins.InitializeInventoryInstancePlugin$2.run(InitializeInventoryInstancePlugin.java:133)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      18 17:33:28.125 spray.can.server.HttpServerConnection [ERROR] - Aborting encrypted connection to /192.11.0.122:53487 due to [SSLException:Received fatal alert: certificate_unknown]
      

      Desired Behavior

      The InventoryPlugin should call the DailyPlan with the HTTP url.

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: