<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-2311 Unable to connect to SQL Server after upgrading to 24.1</title><link>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2311 Unable to connect to SQL Server after upgrading to 24.1</title><link>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1</link><pubDate>Wed, 05 Jun 2024 19:09:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:614eb73c-d994-48bb-89e7-b5260948d639</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1#comments</comments><description>Current Revision posted to Appian Knowledge Base by pauline.delacruz on 6/5/2024 7:09:56 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hs35pp4d0"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading to Appian 24.1, users are unable to connect to the SQL Server data source in the Admin Console. The following error&amp;nbsp;will be seen in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - java.sql.SQLException: Cannot create PoolableConnectionFactory (&amp;quot;encrypt&amp;quot; property is set to &amp;quot;false&amp;quot; and &amp;quot;trustServerCertificate&amp;quot; property is set to &amp;quot;false&amp;quot; but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:&amp;lt;id&amp;gt;)&lt;/pre&gt;
&lt;h2 id="mcetoc_1hs35puf01"&gt;Cause&lt;/h2&gt;
&lt;p&gt;In Appian 24.1,&amp;nbsp;the SQL Server JDBC driver was updated to version 12.&amp;nbsp;&lt;span&gt;This included a &lt;a href="https://techcommunity.microsoft.com/t5/sql-server-blog/jdbc-driver-10-2-for-sql-server-released/ba-p/3100754"&gt;change from Microsoft&lt;/a&gt; in how SQL Server handles certificate validation. Certificate validation now validates when encryption is negotiated from either the client or the server side, not just the client side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q2v72"&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Add &lt;code&gt;trustServerCertificate=true&lt;/code&gt; to the database connection string in the Admin Console.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q8k83"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 24.1 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;May&amp;nbsp;2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: sql server, database, integration&lt;/div&gt;
</description></item><item><title>KB-XXX Unable to connect to SQL Server after upgrading to 24.1</title><link>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1/revision/4</link><pubDate>Mon, 13 May 2024 16:14:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:614eb73c-d994-48bb-89e7-b5260948d639</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1#comments</comments><description>Revision 4 posted to Appian Knowledge Base by pauline.delacruz on 5/13/2024 4:14:54 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hs35pp4d0"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading to Appian 24.1, users are unable to connect to the SQL Server data source in the Admin Console. The following error&amp;nbsp;will be seen in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - java.sql.SQLException: Cannot create PoolableConnectionFactory (&amp;quot;encrypt&amp;quot; property is set to &amp;quot;false&amp;quot; and &amp;quot;trustServerCertificate&amp;quot; property is set to &amp;quot;false&amp;quot; but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:&amp;lt;id&amp;gt;)&lt;/pre&gt;
&lt;h2 id="mcetoc_1hs35puf01"&gt;Cause&lt;/h2&gt;
&lt;p&gt;In Appian 24.1,&amp;nbsp;the SQL Server JDBC driver was updated to version 12.&amp;nbsp;&lt;span&gt;This included a &lt;a href="https://techcommunity.microsoft.com/t5/sql-server-blog/jdbc-driver-10-2-for-sql-server-released/ba-p/3100754"&gt;change from Microsoft&lt;/a&gt; in how SQL Server handles certificate validation. Certificate validation now validates when encryption is negotiated from either the client or the server side, not just the client side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q2v72"&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Add &lt;code&gt;trustServerCertificate=true&lt;/code&gt; to the database connection string in the Admin Console.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q8k83"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 24.1 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;May&amp;nbsp;2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>KB-XXX Unable to connect to SQL Server after upgrading to 24.1</title><link>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1/revision/3</link><pubDate>Mon, 13 May 2024 16:14:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:614eb73c-d994-48bb-89e7-b5260948d639</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1#comments</comments><description>Revision 3 posted to Appian Knowledge Base by pauline.delacruz on 5/13/2024 4:14:23 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hs35pp4d0"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading to 24.1, users are unable to connect to the SQL Server data source in the Admin Console. The following error&amp;nbsp;will be seen in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - java.sql.SQLException: Cannot create PoolableConnectionFactory (&amp;quot;encrypt&amp;quot; property is set to &amp;quot;false&amp;quot; and &amp;quot;trustServerCertificate&amp;quot; property is set to &amp;quot;false&amp;quot; but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:&amp;lt;id&amp;gt;)&lt;/pre&gt;
&lt;h2 id="mcetoc_1hs35puf01"&gt;Cause&lt;/h2&gt;
&lt;p&gt;In 24.1,&amp;nbsp;the SQL Server JDBC driver was updated to version 12.&amp;nbsp;&lt;span&gt;This included a &lt;a href="https://techcommunity.microsoft.com/t5/sql-server-blog/jdbc-driver-10-2-for-sql-server-released/ba-p/3100754"&gt;change from Microsoft&lt;/a&gt; in how SQL Server handles certificate validation. Certificate validation now validates when encryption is negotiated from either the client or the server side, not just the client side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q2v72"&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Add &lt;code&gt;trustServerCertificate=true&lt;/code&gt; to the database connection string in the Admin Console.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q8k83"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 24.1 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;May&amp;nbsp;2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>KB-XXX Unable to connect to SQL Server after upgrading to 24.1</title><link>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1/revision/2</link><pubDate>Mon, 22 Apr 2024 17:02:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:614eb73c-d994-48bb-89e7-b5260948d639</guid><dc:creator>lyann.sun</dc:creator><comments>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1#comments</comments><description>Revision 2 posted to Appian Knowledge Base by lyann.sun on 4/22/2024 5:02:12 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hs35pp4d0"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading to 24.1, users are unable to connect to the SQL Server data source in the Admin Console. The following error&amp;nbsp;will be seen in the tomcat-stdOut.log:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - java.sql.SQLException: Cannot create PoolableConnectionFactory (&amp;quot;encrypt&amp;quot; property is set to &amp;quot;false&amp;quot; and &amp;quot;trustServerCertificate&amp;quot; property is set to &amp;quot;false&amp;quot; but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:&amp;lt;id&amp;gt;)&lt;/pre&gt;
&lt;h2 id="mcetoc_1hs35puf01"&gt;Cause&lt;/h2&gt;
&lt;p&gt;In 24.1,&amp;nbsp;the SQL Server JDBC driver was updated to version 12.&amp;nbsp;&lt;span&gt;This included a &lt;a href="https://techcommunity.microsoft.com/t5/sql-server-blog/jdbc-driver-10-2-for-sql-server-released/ba-p/3100754"&gt;change from Microsoft&lt;/a&gt; in how SQL Server handles certificate validation. Certificate validation now validates when encryption is negotiated from either the client or the server side, not just the client side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q2v72"&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Add &lt;code&gt;trustServerCertificate=true&lt;/code&gt; to the database connection string in the Admin Console.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q8k83"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 24.1 and later.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>KB-XXX Unable to connect to SQL Server after upgrading to 24.1</title><link>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1/revision/1</link><pubDate>Mon, 22 Apr 2024 15:13:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:614eb73c-d994-48bb-89e7-b5260948d639</guid><dc:creator>lyann.sun</dc:creator><comments>https://community.appian.com/support/w/kb/3533/kb-2311-unable-to-connect-to-sql-server-after-upgrading-to-24-1#comments</comments><description>Revision 1 posted to Appian Knowledge Base by lyann.sun on 4/22/2024 3:13:10 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hs35pp4d0"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading to 24.1, users are unable to connect to the SQL Server data source in the Admin Console. The following error&amp;nbsp;will be seen in the tomcat-stdOut.log:&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - java.sql.SQLException: Cannot create PoolableConnectionFactory (&amp;quot;encrypt&amp;quot; property is set to &amp;quot;false&amp;quot; and &amp;quot;trustServerCertificate&amp;quot; property is set to &amp;quot;false&amp;quot; but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:&amp;lt;id&amp;gt;)&lt;/pre&gt;
&lt;h2 id="mcetoc_1hs35puf01"&gt;Cause&lt;/h2&gt;
&lt;p&gt;In 24.1,&amp;nbsp;the SQL Server JDBC driver was updated to version 10.2.&amp;nbsp;&lt;span&gt;This included a &lt;a href="https://techcommunity.microsoft.com/t5/sql-server-blog/jdbc-driver-10-2-for-sql-server-released/ba-p/3100754"&gt;change from Microsoft&lt;/a&gt; in how SQL Server handles certificate validation. Certificate validation now validates when encryption is negotiated from either the client or the server side, not just the client side.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q2v72"&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Add &lt;code&gt;trustServerCertificate=true&lt;/code&gt; to the database connection string in the Admin Console.&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hs35q8k83"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to Appian 24.1 and later.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>