File is not a certificate adding metricbeat issue

Hello team,
While starting metricbeat , i am getting below error.

D:\path\cert.jks; file is not a certificate adding 

tomcat.yml module:

# Module: tomcat
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.5/metricbeat-module-tomcat.html

- module: tomcat
  metricsets: ['threading', 'cache', 'memory', 'requests']
  period: 10s
  hosts: ['https://localhost:443']
  ssl.enabled: true   
  ssl.certificate_authorities: ["D:\\path\\wildcard_keystore.jks","D:\\sweapp\\applicationcontainer_external\\siebelcerts\\wildcard_truststore.jks"]
  ssl.verification_mode: full  
  path: "/jolokia/?ignoreErrors=true&canonicalNaming=false"

Hi @mangeshmj1992,
did you try to start metricbeat without ssl.* parameters? I don't think it is supported - Tomcat module | Metricbeat Reference [master] | Elastic

Hello @Tetiana_Kravchenko ,
You mean only with below config:

- module: tomcat
  metricsets: ['threading', 'cache', 'memory', 'requests']
  period: 10s
  hosts: ['http://localhost:443']
  path: "/jolokia/?ignoreErrors=true&canonicalNaming=false"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.