lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Jackson <>
Subject Problem with Password Decryption in Data Import Handler
Date Wed, 05 Oct 2016 22:00:03 GMT
Hi Folks,

(Using Solr 5.5.3.)

As far as I know, the only place where encrypted password use is documented
is in,
under the "Configuring the DIH Configuration File", in a comment in the
sample XML file:

Alternately the password can be encrypted as follows. This is the value
obtained as a result of the command
openssl enc -aes-128-cbc -a -salt -in pwd.txt
WHen the password is encrypted, you must provide an extra attribute
This file should a text file with a single line containing the
encrypt/decrypt password

Anyway, I can encrypt just fine:

$ openssl enc -aes-128-cbc -a -salt -in stgps.txt
enter aes-128-cbc encryption password:
Verifying - enter aes-128-cbc encryption password:

I can also decrypt just fine from the command line.

However, if I use the encrypted password and encryptKeyFile in the config
file, I end up with an error: "String length must be a multiple of four."

How do I get this working?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message