powered by Jive Software

SSL Wounded?

I’'m trying to use SSL but the following error is being reported in the log viewer:

2004.11.16 10:07:18 [org.jivesoftware.messenger.net.SSLConfig.<clinit>(SSLConfig.java:72)]
java.io.FileNotFoundException: /usr/local/jive_messenger_2_0_0/resources/security/keystore (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.jivesoftware.messenger.net.SSLConfig.<clinit>(SSLConfig.java:62)
at org.jivesoftware.messenger.net.SSLSocketAcceptThread.<init>(SSLSocketAcceptThread.java:90)
at org.jivesoftware.messenger.spi.ConnectionManagerImpl.createSocket(ConnectionManagerImpl.java:68)
at org.jivesoftware.messenger.spi.ConnectionManagerImpl.serviceAdded(ConnectionManagerImpl.java:149)
at org.jivesoftware.messenger.container.BasicModule$BasicModuleTrackerListener.addService(BasicModule.java:444)
at org.jivesoftware.messenger.container.ServiceTracker$TrackerEventListener.notifyEvent(ServiceTracker.java:138)
at org.jivesoftware.messenger.container.spi.ServiceLookupImpl.notifyTransitions(ServiceLookupImpl.java:201)
at org.jivesoftware.messenger.container.spi.ServiceLookupImpl.register(ServiceLookupImpl.java:173)
at org.jivesoftware.messenger.container.BasicModule.start(BasicModule.java:560)
at org.jivesoftware.messenger.container.spi.BootstrapContainer.startCoreModules(BootstrapContainer.java:278)
at org.jivesoftware.messenger.container.spi.BootstrapContainer.start(BootstrapContainer.java:177)
at org.jivesoftware.messenger.container.spi.BootstrapContainer.<init>(BootstrapContainer.java:145)
at org.jivesoftware.messenger.XMPPBootContainer.<init>(XMPPBootContainer.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.jivesoftware.messenger.starter.ServerStarter.start(ServerStarter.java:54)
at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:35)
2004.11.16 10:07:18 [org.jivesoftware.messenger.spi.ConnectionManagerImpl.createSocket(ConnectionManagerImpl.java:83)] Could not setup SSL socket
java.io.IOException
at org.jivesoftware.messenger.net.SSLConfig.createServerSocket(SSLConfig.java:139)
at org.jivesoftware.messenger.net.SSLSocketAcceptThread.<init>(SSLSocketAcceptThread.java:90)
at org.jivesoftware.messenger.spi.ConnectionManagerImpl.createSocket(ConnectionManagerImpl.java:68)
at org.jivesoftware.messenger.spi.ConnectionManagerImpl.serviceAdded(ConnectionManagerImpl.java:149)
at org.jivesoftware.messenger.container.BasicModule$BasicModuleTrackerListener.addService(BasicModule.java:444)
at org.jivesoftware.messenger.container.ServiceTracker$TrackerEventListener.notifyEvent(ServiceTracker.java:138)
at org.jivesoftware.messenger.container.spi.ServiceLookupImpl.notifyTransitions(ServiceLookupImpl.java:201)
at org.jivesoftware.messenger.container.spi.ServiceLookupImpl.register(ServiceLookupImpl.java:173)
at org.jivesoftware.messenger.container.BasicModule.start(BasicModule.java:560)
at org.jivesoftware.messenger.container.spi.BootstrapContainer.startCoreModules(BootstrapContainer.java:278)
at org.jivesoftware.messenger.container.spi.BootstrapContainer.start(BootstrapContainer.java:177)
at org.jivesoftware.messenger.container.spi.BootstrapContainer.<init>(BootstrapContainer.java:145)
at org.jivesoftware.messenger.XMPPBootContainer.<init>(XMPPBootContainer.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.jivesoftware.messenger.starter.ServerStarter.start(ServerStarter.java:54)
at org.jivesoftware.messenger.starter.ServerStarter.main(ServerStarter.java:35)

I looked at it appears that the “/usr/local/jive_messenger_2_0_0/resources/security/keystore” directory does indeed not exist, at least in the v2 binary download.

Thanks,

Ryan

Ryan,

There should be a file called keystore in “resources/security”. Do you not see it there?

Regards,

Matt

Hi,

I just donwloaded the binary version of jive messenger 2.0.0 and I dont have the security directory:

$ pwd

/usr/local/jivems/resources

$ ls

database

and I checked in the beta binaries, there isnt the security directory.

Hi Matt,

No, that directory doesn’‘t exist. I’'m seeing, or rather not seeing, the same thing jmedina is.

Thanks,

Ryan

Urg, looks like a bug with the release script. I’‘m attaching the files that should be in that directory to this message. We’'ll put out a new 2.0.1 release today too. It will include fixes for a few other minor issues as well as this one.

-Matt

Just a side note. I installed the Windows binary and I do have a

D:\Program Files\Jive Messenger 2.0\resources\security

keystore

truststore

Thanks for the files, Matt.