CUCM LDAP Authentication failed - javax.crypto.BadPaddingException

Unanswered Question
Apr 15th, 2017
User Badges:

Hi All,

When I try to remove the LDAP Authentication, or change the item on the LDAP Authentication, after clieck "Save", I get the error message and cannot do it. (Pls find the attachment).

Can anyone help me?

Thanks all

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jaime Valencia Sat, 04/15/2017 - 10:09
User Badges:
  • Cisco Employee,
  • Hall of Fame,


What version is this?

Have you tried restarting LDAP and Tomcat?

osw200051 Sun, 04/16/2017 - 04:34
User Badges:

Hi Jaime,

I am current using 10.5.2.

I Had try to restart the node but still failed.

Alok Jaiswal Mon, 04/17/2017 - 01:33
User Badges:
  • Bronze, 100 points or more

From the error i feel its an issue with certificate may be..if we have wireshark from cucm while configuring ldap authentication then its a plus.

Are using ldap with ssl ?? What port are you configuring? Is it 3269(ssl) or 3268(no ssl).

Also if you are using ssl then make sure you trust the certificates and also make sure your certifcate is using SHA algorithm.



maeswara Wed, 04/19/2017 - 03:25
User Badges:
  • Cisco Employee,


This is because you should be using the application users imported from another existing CUCM.

This is a bug,

Workaround :

Remove the content of Digest Credentials field for affected users. 


Set the Digest Credentials password using the following SQL command; 
run sql update applicationuser set passwordreverse=' ' where name=<AppUser>


This Discussion