Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1421

add grouperInstaller java check at startup

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: grouperInstaller
    • Labels:
      None

      Description

      should give a friendly error, right now it says:

      Caused by: java.lang.RuntimeException: Could not generate DH keypair
      at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:106)
      at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:485)
      at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:175)
      at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:529)
      at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:465)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
      at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
      ... 14 more
      Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
      at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DashoA13*..)
      at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)
      at com.sun.net.ssl.internal.ssl.DHCrypt.<init>(DHCrypt.java:100)
      ... 22 more

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Reporter:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: