SSL Won''t Start!

I followed the instructions in the SSL guide, my passwords are correct but the error log says :

2006.05.30 16:15:04 [org.jivesoftware.wildfire.net.SSLConfig.(SSLConfig.java:76)

] SSLConfig startup problem.

storeType:

keyStoreLocation:

keypass:

trustStoreLocation:

trustpass:

java.io.IOException: Keystore was tampered with, or password was incorrect

at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)

at java.security.KeyStore.load(Unknown Source)

at org.jivesoftware.wildfire.net.SSLConfig.(XMPPServer.java:142)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:88)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Any ideas as to why im getting this?

Hi

did you change the keystore password or is it still “changeit”?

Did you change it and did you also set xmpp.socket.ssl.keypass and xmpp.socket.ssl.trustpass to match your new password?

LG

Hi

did you change the keystore password or is it still

“changeit”?

Did you change it and did you also set

xmpp.socket.ssl.keypass and xmpp.socket.ssl.trustpass

to match your new password?

LG

I did. that’'s what I dont get…

my password is “sslpass”

if i canget this to work ill change it

Message was edited by: SPW

Hi,

if you did set both xmpp… system properties it should run fine. Did you use the java 1.5 keytool program, one did post that the 1.4 program causes trouble.

LG

Hi,

if you did set both xmpp… system properties it

should run fine. Did you use the java 1.5 keytool

program, one did post that the 1.4 program causes

trouble.

LG

I dont know. I used the one that comes with Wildfire 2.6.2 JRE…should I use the one from my JRE

Hi,

Wildfire comes with java 1.5, so also this should not be the reason for the problem.

LG

I think my problem is xmpp.socket.ssl.storeType. Should I set it to “JKS” “jks” or just leave it blank?

Hey SPW,

A quick google seach revealed these links:

http://www.thawte.com/ssl-digital-certificates/technical-support/ssl/tomcat.html #error4

1.The error occurs because the incorrect keystore file is being specified. To resolve this problem follow the instructions in the following Knowledge Base solution: vs16047

2.The error occurs because there is no trusted certificate chain present when importing the certificate. To resolve this problem follow the instructions in the following Knowledge Base solution: vs29127[/i]

http://www.churchillobjects.com/c/11201i.html

This can indicate that the password provided to retrieve the certificates from the local keystore is incorrect, but it could also mean that something went wrong with the keystore file itself, such as being corrupt, restricted at the file system or not present at all.[/i]

http://www.jguru.com/forums/view.jsp?EID=1201146

it was far more simple that I thought. Just had a plain old misspelled password in my tomcat server.xml.[/i]

Regards,

– Gato