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

JDK Bug System | Shadow Bug | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

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