YaCy-Bugtracker - YaCy
View Issue Details
0000687YaCy[All Projects] Generalpublic2016-09-22 20:542017-07-14 23:44
openjdk version "1.8.0_102"Fedora24
0000687: Import of SSL certificate erases keyStorePassword parameter

I've noticed that after importing of a pkcs12 certificate YaCy erases pkcs12ImportFile and keyStorePassword parameters. I can understand that the former is erased to avoid reimporting the certificate again, however erasing of the latter prevents yacy to read the keystore.

Perhaps it was meant to erase pkcs12ImportFile and pkcs12ImportPwd parameters, not pkcs12ImportFile and keyStorePassword.
1. Set keyStore parameter with a location of a not-yet-existent file
2. Set keyStorePassword parameter with a new password
3. Set pkcs12ImportFile and pkcs12ImportPwd parameters to match certificate to import
4. Restart Yacy. Now you've got HTTPS on port 8443.
5. Restart Yacy again. Now you don't.
YaCy version 1.91/9188.
No tags attached.
Issue History
2016-09-22 20:54PythagorasNew Issue
2017-07-12 16:06lucNote Added: 0001467
2017-07-14 23:44BuBuStatusnew => resolved
2017-07-14 23:44BuBuResolutionopen => fixed
2017-07-14 23:44BuBuAssigned To => administrator

2017-07-12 16:06   
Fixed by Pull Request 122 from Scarfmonster (https://github.com/yacy/yacy_search_server/pull/122 [^])