Could not login to HP ALM after ALM 12.21 Patch 6 to Patch 7 upgrade

  • Questions
  • Could not login to HP ALM after ALM 12.21 Patch 6 to Patch 7 upgrade
Question ID: 108928
0
0

Hi ,

After installation of ALM 12.21 Patch 7 on top of Patch 6. could not login into site administration.

Receiving the error message "Failed to login. Please contact system administrator for help.
Description. An error happened while connecting to LDAP server.
Please try again"

Upon analyzing SA logs below is the reason identified.

"Failed to execute LDAP query
com.unboundid.ldap.sdk.LDAPException
Messages:
An error occurred while attempting to connect to server vds20-eu.XXXXX.com:636:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target caused by sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target caused by sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;
"
Could you please let me know what went wrong.

Patch installation went fine without any interruptions.

Only after the patch installation, when users are trying to login they are getting this error message.

Please assist.

Regards,
Srihari

Marked as spam
Posted by (Questions: 28, Answers: 21)
Asked on April 10, 2019 3:51 pm
70 views
Answers (1)
1
Private answer

Sai,
Looks like . you may have an issue with the certificate that is being used to authenticate to the LDAP system. First thing I would attempt to do is since you can't authenticate into the system, I would change the authentication on the back end to 'QUALITYCENTER' from the current 'LDAP' and then restart the services and log into siteadmin with the main admin accounts set up during install. See this post on how to change that authentication: https://eyeontesting.com/questions/868/unable-to-login-site-admin-after-enabling-ldap-aut.html

After this attempt to reset up the LDAP settings and test the connection (could be as simple as something got skewed during the patch installation), if that doesn't work, check that the certificates are correct (here is the procedure from the admin guide...this is 12.55 version but the same exact process: [link text][1]

If neither of these works then you may have to open a case with your support group to address this directly.

Hope this helps,
Dan

[1]: /storage/temp/941-alm-1255-adminguide-ldap.pdf

Marked as spam
Posted by (Questions: 0, Answers: 721)
Answered on April 11, 2019 2:28 pm
Thanks Dan.Like stated,we had issues with LDAP SSL certificates after patch 7 upgrade.Identified that Patch 7 installation removed the contents of LDAP SSL certificates from cacerts store.After reimporting the SSL certificates into the cacert certificate store, this issue got resolved.However I am not aware of what all other things in ALM application might have got updated/changed due to Patch 7 upgrade on top of Patch 6. Could you please let me if you have any information on this, so I can test specifically those functionalities as part of risk assessment.
( at April 16, 2019 12:18 pm)