LDAP Connection Errors When Using ADMINPV: "HOST SERVER: PORT See log tab for more details." and "Possible CSRF attack for login request for user username. Ignoring login request from user 'USER'"
(Doc ID 2639276.1)
Last updated on AUGUST 08, 2023
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 19.12 and laterInformation in this document applies to any platform.
Symptoms
When using adminpv.cmd (sh) and testing LDAP Connection settings (when using LDAP SSL), the following error occurs.
ERROR
<HOST SERVER>: <PORT>
See log tab for more details.
Steps to Reproduce
- Run adminpv.cmd (.sh)
- Go to the Authentication tab
- Expand Authentication
- Expand LDAP
- Expand Database Instance - LDAP Connection settings
- Right click on LDAP connection settings and Test Connection
- Message box appears.
2. Try to log into P6 EPPM via P6 Web.
- When this fails, an error should be logged to the p6webaccess.html file.
P6webaccess.html Errors:
<TIMESTAMP> [ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR /action/login () com.primavera.pvweb.main.login.LoginActionBase Possible CSRF attack for login request for user username. Ignoring login request from user '<USER_NAME>'
MDC: {context=/action/login ()}
<TIMESTAMP> [ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR /action/login () com.primavera.infr.ldap.LDAPServiceImpl While trying to ping LDAP server failed to get initial directory context URL=<SERVER_URL>:port Security=ssl AuthenticationMode= Chase Referrals=1 User Key=sAMAccountName
MDC: {context=/action/login ()} javax.naming.CommunicationException: <LDAP_SERVER_HOST>:<LDAP_SERVER_PORT> [Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:228)
Caused by: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
Caused by: java.security.KeyStoreException: problem accessing trust store
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
Caused by: java.security.UnrecoverableKeyException: Password verification failed
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |