apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
7.59k stars 1.67k forks source link

how to set tls_verify_certificate = false in JDBC connection #6805

Open sanjaychitransh opened 2 months ago

sanjaychitransh commented 2 months ago

Search before asking

Description

Hi Team , I am using tls_verify_certificate = false tls_verify_hostname = false In JDBC to change SSl property in JDBC presto .please find my configuration file as below


env {

execution.parallelism = 1 job.mode = "BATCH" }

source {

jdbc { url = "jjdbc:presto://xxxxxxxx.xxxxxx.xxxx.com:8443/mysql/seasink" driver = "io.prestosql.jdbc.PrestoDriver" user = "padmin" password = "Adm1n##" tls_verify_certificate = false tls_verify_hostname = false query = "Select id, name from mysql.seasink.pet2" }

}

transform {

}

sink { Console {

           }

}

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.