When setting up SSL for Solr (in windows OS), keystore password with special characters throws "keystore password was incorrect" error.
Sample Password: 7V4StJ!Qc%8V
How should I handle this?
I am able to fix it by keeping the password with special character in a separate file (single line file) and while setting the variable in batch file, I am reading it from the file and setting it up. It worked.
set /p SOLR_SSL_TRUST_STORE_PASSWORD=<key
where key is the file with the password in single line. Check the arrow (<) near the file name.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.