Skip to content

Add support for JKS files to x509_cert plugin #7013

@elizabetht

Description

@elizabetht

Relevant telegraf.conf:

[[inputs.x509_cert]]
  sources = ["/etc/path-to-jks/server.jks"]

System info:

telegraf-1.13.2-1.x86_64 is included in the package

Steps to reproduce:

  1. Update the above telegraf config and reload telegraf-client
  2. Errors appear in the telegraf-client logs
    E! [inputs.x509_cert] Error in plugin: cannot get SSL cert '/etc/path-to-jks/server.jks': failed to parse certificate PEM

Expected behavior:

x509_cert plugin to parse JKS certificate files

Actual behavior:

Getting errors in the telegraf-client logs

 E! [inputs.x509_cert] Error in plugin: cannot get SSL cert '/etc/corona/server.jks': failed to parse certificate PEM

Additional info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions