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

Audit Trail ignore self signed certificates for elasticsearch

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: