Here it says that there is an example to use a module with SSL but the ssl.verification mode is set to none and there is no place to specify where the SSL certificate is located.
It seems that got me closer to a solution but i have a tiny hiccup now.
I'm trying to connect to a MySQL instance hosted in AWS RDS and when i try to connect to it the metricbeat logs display "x509: certificate signed by unknown authority"
Any idea how i can add the AWS RDS certificate in order to use a tls connection?
The RDS certificates are public and i have them downloaded from their website.
Or do i have to do something else?
I'll try to do this in an EC2 instance to see if maybe the instance will trust the authority.
@Aurel_Drejta - I do not think there is any option right now in the MySQL module or Metricbeat to specify a list of trusted certificates to connect to the database. If you use the tls=true option, what you could do is to:
@ropc - Yep that did the trick. Thank for the help, i very much appreciate it.
I think the MySQL module for Metricbeat should add an option to specify the certificate you can use to connect.
( Just an idea for future improvements )
@Aurel_Drejta I opened a Github issue in the beats repository. You can subscribe to it for further updates. Thanks again for your collaboration and I am glad we solved your problem
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.