Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66987

Audit Trail ignore self signed certificates for elasticsearch

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • audit-trail-plugin
    • None
    • jenkins version: 2.303.2
      audit tail version: 3.10

      When configuring the elasticsearch https endpoint for audit-trail plugin I receive this Warning:

      2021-10-27 08:38:48.185+0000 [id=265]   WARNING h.p.a.ElasticSearchAuditLogger#log: Audit event not sent to Elastic Search server: /configSubmit by admin from XXX.XXX.XXX.XXX - hudson.plugins.audit_trail.ElasticSearchAuditLogger$ElasticSearchSender@42fe55a5
      sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      
      Caused: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      

      The rights for the user used to push logs are ok, credentials ok, but I'm using self signed certificates for the elasticsearch cluster v7.11.2 OR it's requesting client certificates ? I don't understand the exact issue.

          [JENKINS-66987] Audit Trail ignore self signed certificates for elasticsearch

          Adrian Paraschiv created issue -
          Damien Duportal made changes -
          Component/s New: audit-trail-plugin [ 15599 ]
          Component/s Original: jenkins.io [ 23954 ]
          Key Original: INFRA-3110 New: JENKINS-66987
          Workflow Original: classic default workflow [ 251038 ] New: JNJira + In-Review [ 251042 ]
          Project Original: Infrastructure [ 10301 ] New: Jenkins [ 10172 ]
          Pierre Beitz made changes -
          Assignee New: Pierre Beitz [ pierrebtz ]
          Pierre Beitz made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            pierrebtz Pierre Beitz
            screwyy Adrian Paraschiv
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: