My Oracle Support Banner

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 MARCH 02, 2020

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 19.12 and later
Information 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

  1. Run adminpv.cmd (.sh)
    1. Go to the Authentication tab
    2. Expand Authentication
    3. Expand LDAP
    4. Expand Database Instance - LDAP Connection settings
    5. Right click on LDAP connection settings and Test Connection
    6. Message box appears.

2. Try to log into P6 EPPM via P6 Web.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.