jglobus / JGlobus

jGlobus is a collection of Java client libraries for Globus® Toolkit security, GRAM, and GridFTP.
http://www.globus.org/toolkit/jglobus/
Apache License 2.0
24 stars 44 forks source link

digest too big for rsa key #132

Closed romainreuillon closed 10 years ago

romainreuillon commented 10 years ago

I am having tons of these errors recently since a changed my p12 certificate. Any idea where it can come from?

java.io.IOException: 530-globus_xio: Authentication Error 530-globus_gsi_proxy: Error with X509 request structure: Couldn't sign the X509_REQ structure for later verification 530-OpenSSL Error: a_sign.c:314: in library: asn1 encoding routines, function ASN1_item_sign_ctx: EVP lib 530-OpenSSL Error: rsa_sign.c:127: in library: rsa routines, function RSA_sign: digest too big for rsa key 530 End. at org.globus.ftp.extended.GridFTPInputStream.readHandshakeToken(GridFTPInputStream.java:72) at org.globus.ftp.extended.GridFTPControlChannel.authenticate(GridFTPControlChannel.java:216) at org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:127) at org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:103) at org.globus.io.streams.GridFTPOutputStream.(GridFTPOutputStream.java:97) at org.globus.io.streams.GridFTPOutputStream.(GridFTPOutputStream.java:79) at org.globus.io.streams.GridFTPOutputStream.(GridFTPOutputStream.java:37)

Cheers, Romain

romainreuillon commented 10 years ago

That was due to a key size problem in a lib depending on jglobus. It was not due to jglobus.