YaCy-Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000323YaCy[All Projects] Generalpublic2013-12-10 20:452014-03-07 20:20
ReporterYududi 
Assigned To 
PriorityhighSeverityblockReproducibilityhave not tried
StatusnewResolutionopen 
ETAnone 
PlatformLinuxOSGNU/Linux Debian 7.2OS Version7.2
Product VersionYaCy 1.6 
Target VersionFixed in Version 
Summary0000323: YaCy cant boot anymore after setting up SSL and running a couple of days
DescriptionI configured SSL on YaCy with the tutorial on
http://www.yacy-websuche.de/wiki/index.php/En:HOWTO_make_YaCy_allow_SSL_connections [^]
I used StartSSL Class 1 TLS/SSL Certificate.

Today the process of YaCy stopped.
I wanted to restart YaCy but after some seconds the process died again.

So I looked in my log:
yacy@server:~/yacy$ tail -n 100 DATA/LOG/yacy00.log
I 2013/12/10 17:15:40 SERVER Import certificates from import file 'DATA/SETTINGS/keystore.pkcs12'.
E 2013/12/10 17:15:40 SERVER Unable to import certificate from import file 'DATA/SETTINGS/keystore.pkcs12'.
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:788)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
at java.security.KeyStore.load(KeyStore.java:1201)
at net.yacy.utils.PKCS12Tool.importToJKS(PKCS12Tool.java:89)
at net.yacy.server.serverCore.initSSLFactory(serverCore.java:1037)
at net.yacy.server.serverCore.<init>(serverCore.java:198)
at net.yacy.yacy.startup(yacy.java:349)
at net.yacy.yacy.main(yacy.java:671)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:786)

Main problem is the line with "Unable to import certificate from import file".
Because I did not changed anything its quite strange because YaCy was running a couple of days and the certificate worked. YaCy does not start anymore. My Peer is offline.

I found out that in my yacy.conf now pkcs12ImportFile was empty and I did not deleted it.
I tried to configure SSL again but now YaCy just dont start anymore.
Steps To Reproduce1. Install YaCy
2. Configure SSL for YaCy with a StartSSL Class 1 TLS/SSL Certificate and following the tutorial on http://www.yacy-websuche.de/wiki/index.php/En:HOWTO_make_YaCy_allow_SSL_connections [^]
3. Wait a couple of days and/or maybe just reboot
4. YaCy should close itself after a couple of seconds.
Additional InformationSame issue as described by me can be found here: http://mantis.tokeek.de/view.php?id=251 [^]
TagsNo tags attached.
Attached Files

- Relationships
related to 0000251new Unable to import certificate 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-12-10 20:45 Yududi New Issue
2014-03-07 20:20 BuBu Relationship added related to 0000251


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker