java.security.InvalidKeyException: Modulus size must range from 512 to 1024 and be a multiple of 64

JDK Bug System | Shadow Bug | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.security.InvalidKeyException

    Modulus size must range from 512 to 1024 and be a multiple of 64

    at sun.security.provider.DSA.checkKey()
  2. Java RT
    Signature$Delegate.init
    1. sun.security.provider.DSA.checkKey(DSA.java:281)
    2. sun.security.provider.DSA.engineInitVerify(DSA.java:222)
    3. java.security.Signature$Delegate.init(Signature.java:1088)
    3 frames