Error when using encrypted password on login.config file on AMQ 7
Issue
- Login fails after encrypting the LDAP password on
login.config
configuration file. For example:
connectionPassword=ENC(66b24f249b8d3e37)
- The following exception is displayed in the logs:
[org.eclipse.jetty.server.HttpChannel] /console/auth/login/: java.lang.SecurityException: java.io.IOException: Configuration Error:
Line 10: expected [option key], found [null]
at sun.security.provider.ConfigFile$Spi.<init>(ConfigFile.java:137) [rt.jar:1.8.0_221]
at sun.security.provider.ConfigFile.<init>(ConfigFile.java:102) [rt.jar:1.8.0_221]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_221]
Environment
- Red Hat AMQ
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.