<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CAST Imaging System - GUI - Login - Authentication on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-gui/cast-imaging-system-gui-login/cast-imaging-system-gui-login-authentication/</link><description>Recent content in CAST Imaging System - GUI - Login - Authentication on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-gui/cast-imaging-system-gui-login/cast-imaging-system-gui-login-authentication/index.xml" rel="self" type="application/rss+xml"/><item><title>CAST Imaging System - GUI - Login - Authentication - LDAP Authentication - Login failure due to exception javax.net.ssl.SSLHandshakeException: PKIX path building failed</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-gui/cast-imaging-system-gui-login/cast-imaging-system-gui-login-authentication/cast-imaging-system-gui-login-authentication-ldap-authentication-login-failure-due-to-exception-javax-net-ssl-sslhandshakeexception-pkix-path-building-failed/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-gui/cast-imaging-system-gui-login/cast-imaging-system-gui-login-authentication/cast-imaging-system-gui-login-authentication-ldap-authentication-login-failure-due-to-exception-javax-net-ssl-sslhandshakeexception-pkix-path-building-failed/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page will guide you to solve the login error &lt;strong&gt;&amp;lsquo;PKIX path building failed&amp;rsquo;&lt;/strong&gt; when imaging is configured to use ldaps authentication.&lt;/p&gt;
&lt;p&gt;   Error log :&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Root&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;exception&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;javax&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;net&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;ssl&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;SSLHandshakeException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PKIX&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;building&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;failed&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;sun&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;security&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;certpath&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;SunCertPathBuilderException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;unable&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;find&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;valid&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;certification&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;requested&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For more information refer to : &lt;a href="https://doc.castsoftware.com/display/IMAGING/Configure+authentication#Configureauthentication-ldapConfiguringauthenticationusingLDAP/LDAPS"&gt;Configuring authentication using LDAP/LDAPS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applicable Platform&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Imaging version&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step scenario&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure LDAPS authentication for imaging.&lt;/li&gt;
&lt;li&gt;Enable ldap debug mode by adding below lines in application.properties file( path : %APPDATA%\CAST\ImagingSystem\login)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;          logging.level.org.castsoftware.aip.console.services.ldap=debug&lt;br&gt;
          logging.level.org.springframework.security.ldap=debug&lt;br&gt;
          logging.level.org.springframework.ldap=debug&lt;/p&gt;</description></item><item><title>CAST Imaging System - GUI - Login - Authentication - Login failure due to exception liquibas exception LockException Could not acquire change log lock</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-gui/cast-imaging-system-gui-login/cast-imaging-system-gui-login-authentication/cast-imaging-system-gui-login-authentication-login-failure-due-to-exception-liquibas-exception-lockexception-could-not-acquire-change-log-lock/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-gui/cast-imaging-system-gui-login/cast-imaging-system-gui-login-authentication/cast-imaging-system-gui-login-authentication-login-failure-due-to-exception-liquibas-exception-lockexception-could-not-acquire-change-log-lock/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page will guide you to solve the login error &lt;strong&gt;&amp;lsquo;Could not acquire change log lock&amp;rsquo;&lt;/strong&gt; when imaging is configured to use &lt;strong&gt;LDAP&lt;/strong&gt; &lt;strong&gt;authentication&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Error Log :&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;Caused&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;liquibase&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;exception&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;LockException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Could&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;acquire&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;change&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;lock&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For more information refer to : &lt;a href="https://doc.castsoftware.com/display/IMAGING/Configure+authentication#Configureauthentication-ldapConfiguringauthenticationusingLDAP/LDAPS"&gt;Configuring authentication using LDAP/LDAPS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applicable Platform&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Imaging version&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step scenario&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure LDAP authentication in imaging.&lt;/li&gt;
&lt;li&gt;Restart service &amp;ldquo;CAST Imaging - login service&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Login fails due to error &lt;strong&gt;&amp;ldquo;Incorrect username or password. please try again.&amp;rdquo;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Observe below exception from loginservice.log(path : &lt;Imaging-install-path&gt;\logs).&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;liquibase&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;exception&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;LockException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Could&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;acquire&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;change&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;lock&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Currently&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;locked&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;by&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>