Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed: old but might be still valuable

Affected version(s): pre 7.8.4

Note: since Open-Xchange Appstuite 7.8.4 only openjdk is supported and the problem shouldn't occur. See the link at the end of this article.

Problem

It may happen for some customers that when running the report client command it throws an error for e.g.

root@localhost:~# /opt/open-xchange/sbin/report -s
Starting the Open-Xchange report client. Note that the report generation may take a
little while.
Server response:
java.lang.RuntimeException: Could not generate DH keypair
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1649)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1612)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1595)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1172)
at
...

Root Cause

This is in general not related with Open-Xchange but the installed JVM on the server. This error may come for Oracle and IBM Java flavours.

Solution

There are two options to fix this;

  • You can install the Oracle Java cryptographic extension for long keys. This is a kind of short-term solution because in future versions we may not (not 100% confirmed) support Oracle or IBM Java versions and only give support for OpenJDK for Open-Xchange.
  • You can install the OpenJDK and set it as default Java JVM.

https://www.google.com.pk/#q=replace+oracle+java+with+openjdk

You can choose any one of them. But we always recommend to make a backup before doing it. So that you can roll back if something happens.

Here is the link to the currently supported Java versions we support for our Product based on different Linux distributions.

http://oxpedia.org/wiki/index.php?title=AppSuite:OX_System_Requirements#Java


Content by Label
showLabelsfalse
max5
spacesSKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("crypto","java") and type = "page" and space = "SKB"
labelsjava crypto

Page properties
hiddentrue


Related issues