MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

Elast Agent Error: Received fatal alert: bad_certificate

Uncategorized

Error

[2023-11-15T03:54:06,861][WARN ][o.e.h.AbstractHttpServerTransport] [ip-172-31-95-25] caught exception while handling client http traffic, closing connection Netty4HttpChannel{localAddress=/172.31.95.25:9200, remoteAddress=/172.31.95.25:38564}io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
        at io.netty.codec@4.1.94.Final/io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:499)
        at io.netty.codec@4.1.94.Final/io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
        at io.netty.transport@4.1.94.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
        at io.netty.transport@4.1.94.Final/io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.transport@4.1.94.Final/io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)

See logs for more details.

Solution

Add ssl.verification_mode: none in elastic-agent.yml

$ systemctl stop elastic-agent
$ cd /opt/Elastic/Agent
$ vi elastic-agent.yml
$ systemctl start elastic-agent
$ systemctl status elastic-agent


outputs:
  default:
    type: elasticsearch
    hosts:
      - 'https://172.31.95.25:9200'
    username: 'elastic'
    password: '7SNe*fn_aqroKovhjH4E'
    ssl.verification_mode: none
output_permissions:
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x