<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TLS version issue with DB connection to Azure MSSQL database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323191#M93064</link>
    <description>&lt;P&gt;Hi @Paul Cigolini​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that TLS support is dependant on the JDK version and not talend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are setting JDK 8 to use TLS 1.2 as the default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to the below document for reference;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default" alt="https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default" target="_blank"&gt;https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, try to provide additional JDBC parameter to URL i.e. "?enabledTLSProtocols=TLSv1.2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, Here is the nice documentation on how to force ms-sql to accept TLSv1.2, as it can be also a limit from the system:&lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-protocols-ciphers.html" alt="https://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-protocols-ciphers.html" target="_blank"&gt;https://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-protocols-ciphers.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change the system-wide host configuration to permit additional TLS protocols. Consult your operating system documentation for instructions. For example, your system may have an /etc/ssl/openssl.cnf file that contains these lines to restrict TLS protocols to TLSv1.2 or higher:&lt;/P&gt;&lt;P&gt;[system_default_sect]&lt;/P&gt;&lt;P&gt;MinProtocol = TLSv1.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, once connected on the mssql server, what can you see at:&lt;/P&gt;&lt;P&gt;mysql&amp;gt; SHOW GLOBAL VARIABLES LIKE 'tls_version';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then on mssql my.cnf configuration file, please add under [mysqld]:&lt;/P&gt;&lt;P&gt;[mysqld]&lt;/P&gt;&lt;P&gt;tls_version=TLSv1.2&lt;/P&gt;&lt;P&gt;Restart mssqld&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Studio Side:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can force the use of TLSV1.2 with an option:&lt;/P&gt;&lt;P&gt;-Dhttps.protocols=TLSv1.2 that you'll write down on the studio ini file &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please revert back to the community, if needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vaishnavi&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 17:51:36 GMT</pubDate>
    <dc:creator>prg</dc:creator>
    <dc:date>2021-02-03T17:51:36Z</dc:date>
    <item>
      <title>TLS version issue with DB connection to Azure MSSQL database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323190#M93063</link>
      <description>&lt;P&gt;We are receiving the following error when testing our Db Connection to Microsoft Azure SQL server. We are on the latest version of JRE and have loaded the latest mssql-jdbc.jar into Talend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection failure. You must change the Database Settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;java.lang.RuntimeException: java.sql.SQLException: Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.core.model.metadata.builder.database.JDBCDriverLoader.getConnection(JDBCDriverLoader.java:208)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.core.model.metadata.builder.database.ExtractMetaDataUtils.connect(ExtractMetaDataUtils.java:1146)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.core.model.metadata.builder.database.ExtractMetaDataFromDataBase.testConnection(ExtractMetaDataFromDataBase.java:315)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.metadata.managment.repository.ManagerConnection.check(ManagerConnection.java:290)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.repository.ui.wizards.metadata.connection.database.DatabaseForm$67.runWithCancel(DatabaseForm.java:4208)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.repository.ui.wizards.metadata.connection.database.DatabaseForm$67.runWithCancel(DatabaseForm.java:1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.repository.ui.dialog.AProgressMonitorDialogWithCancel$1.runnableWithCancel(AProgressMonitorDialogWithCancel.java:77)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.repository.ui.dialog.AProgressMonitorDialogWithCancel$ARunnableWithProgressCancel$1.call(AProgressMonitorDialogWithCancel.java:161)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.base/java.lang.Thread.run(Thread.java:832)&lt;/P&gt;&lt;P&gt;&amp;nbsp;Caused by: java.sql.SQLException: Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:632)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sourceforge.jtds.jdbc.JtdsConnection.&amp;lt;init&amp;gt;(JtdsConnection.java:371)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.core.model.metadata.builder.database.DriverShim.connect(DriverShim.java:41)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.talend.core.model.metadata.builder.database.JDBCDriverLoader.getConnection(JDBCDriverLoader.java:199)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;... 9 more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 22:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323190#M93063</guid>
      <dc:creator>PCigolini</dc:creator>
      <dc:date>2021-02-02T22:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: TLS version issue with DB connection to Azure MSSQL database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323191#M93064</link>
      <description>&lt;P&gt;Hi @Paul Cigolini​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that TLS support is dependant on the JDK version and not talend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are setting JDK 8 to use TLS 1.2 as the default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to the below document for reference;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default" alt="https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default" target="_blank"&gt;https://blogs.oracle.com/java-platform-group/jdk-8-will-use-tls-12-as-default&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, try to provide additional JDBC parameter to URL i.e. "?enabledTLSProtocols=TLSv1.2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, Here is the nice documentation on how to force ms-sql to accept TLSv1.2, as it can be also a limit from the system:&lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-protocols-ciphers.html" alt="https://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-protocols-ciphers.html" target="_blank"&gt;https://dev.mysql.com/doc/refman/5.7/en/encrypted-connection-protocols-ciphers.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change the system-wide host configuration to permit additional TLS protocols. Consult your operating system documentation for instructions. For example, your system may have an /etc/ssl/openssl.cnf file that contains these lines to restrict TLS protocols to TLSv1.2 or higher:&lt;/P&gt;&lt;P&gt;[system_default_sect]&lt;/P&gt;&lt;P&gt;MinProtocol = TLSv1.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, once connected on the mssql server, what can you see at:&lt;/P&gt;&lt;P&gt;mysql&amp;gt; SHOW GLOBAL VARIABLES LIKE 'tls_version';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then on mssql my.cnf configuration file, please add under [mysqld]:&lt;/P&gt;&lt;P&gt;[mysqld]&lt;/P&gt;&lt;P&gt;tls_version=TLSv1.2&lt;/P&gt;&lt;P&gt;Restart mssqld&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Studio Side:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can force the use of TLSV1.2 with an option:&lt;/P&gt;&lt;P&gt;-Dhttps.protocols=TLSv1.2 that you'll write down on the studio ini file &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please revert back to the community, if needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vaishnavi&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 17:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323191#M93064</guid>
      <dc:creator>prg</dc:creator>
      <dc:date>2021-02-03T17:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: TLS version issue with DB connection to Azure MSSQL database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323192#M93065</link>
      <description>&lt;P&gt;Hi Vaishnavi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our JDK version is the latest available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also tried applying the parameter to the DB connection settings as you suggested, with no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, we are limited in trying your other suggestions because we are on Microsoft SQL Server (not mysql), and we are not going to be able to change the configuration in SQL anyway due to security issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 18:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323192#M93065</guid>
      <dc:creator>PCigolini</dc:creator>
      <dc:date>2021-02-03T18:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: TLS version issue with DB connection to Azure MSSQL database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323193#M93066</link>
      <description>&lt;P&gt;@Paul Cigolini​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can pass &lt;I&gt;ssl=require &lt;/I&gt;in additional parameters on tDBConnection component of MSSQL to make it successful connection. it worked for me. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TLS-version-issue-with-DB-connection-to-Azure-MSSQL-database/m-p/2323193#M93066</guid>
      <dc:creator>Arjun1</dc:creator>
      <dc:date>2021-04-29T12:43:24Z</dc:date>
    </item>
  </channel>
</rss>

