Hi im getting this error in logstash 7.6.1 when using JDBC driver
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: \"The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
this is my input:
input {
jdbc {
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string => "jdbc:sqlserver://dbip:1433;databasename=MyDB"
jdbc_user => "myuser"
jdbc_password => "mypass"
# jdbc_validate_connection => true
statement => " SELECT TOP 10 ..."
jdbc_default_timezone => "UTC"
tracking_column_type => "timestamp"
use_column_value => true
record_last_run => true
tracking_column => "time"
last_run_metadata_path => "./alerts_last_run.yml"
}
}
Any ideas on how can I solve this?