Logstash forwarder certificate signed by unknown authority

Logstash forwarder is the very light weight component to ship the log files from one server to another server.SSL certificate is required in logstash forwarder to send the information to logstash server and in case certificate is not configured properly we may encounter following error.

2015/07/29 17:13:23.132688 Failed to tls handshake with x509: certificate signed by unknown authority

Possible Reasons: 
  1. Make sure that logstash forwarder and logstash both are using same certificate and restart both the process.
2. Logstash forwarder should have following attributes in network.

   "network": {
    "servers": [ "Mohanraj:3445"],
 "ssl_certificate" : "d:/lumberjack.crt",
    "ssl_key"         : "d:/lumberjack.key",
 "ssl ca"         : "d:/lumberjack.crt"

  "files": [
      "paths": [

3. In the generated certificate hostname should be proper and we should not use IP in CN Name.


Post a Comment

Powered by Blogger.