java.io.NotSerializableException: java.security.cert.Certificate: X.509: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.

ejbca | flor_lai | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    installation on Linux failed

    ejbca | 1 decade ago | flor_lai
    java.io.NotSerializableException: java.security.cert.Certificate: X.509: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.

    Root Cause Analysis

    1. java.io.NotSerializableException

      java.security.cert.Certificate: X.509: java.io.IOException: subject key, Unknown key spec: Invalid RSA modulus size.

      at java.security.cert.Certificate$CertificateRep.readResolve()
    2. Java RT
      MarshalledObject.get
      1. java.security.cert.Certificate$CertificateRep.readResolve(Certificate.java:222)
      2. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      3. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      5. java.lang.reflect.Method.invoke(Method.java:324)
      6. java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:925)
      7. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1655)
      8. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      9. java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      10. java.util.ArrayList.readObject(ArrayList.java:547)
      11. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      12. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      13. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14. java.lang.reflect.Method.invoke(Method.java:324)
      15. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
      16. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
      17. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      18. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      19. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
      20. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
      21. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
      22. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      23. java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      24. java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      24 frames
    3. org.jboss.invocation
      JRMPInvokerProxy.invoke
      1. org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:119)
      1 frame
    4. JBoss Application Server Server
      ClientContainer.invoke
      1. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
      2. org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      3. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
      4. org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
      5. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
      5 frames