Re: help on tn5250j starting with SSL

Ivan Ricotti <[email protected]> Thu, 05 Jul 2007 15:35:40 +0200
Newsgroups gmane.comp.java.tn5250j.general
Message-ID <[email protected]>
Hello guys,

problem solved, I'm using sun java 1.5.
In order to use this java machine with tn5250j I modified this file:

/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/securityjava.security

commenting this line:

ssl.TrustManagerFactory.algorithm=PKIX

and replacing with:

ssl.TrustManagerFactory.algorithm=SunX509

now everything is ok when I try to connect to the mainframe using an SSLv3
encryption.

Cheers,
Ivan

-- 
Ivan Ricotti				
---------------------------------------	
address: Via Quarantola 7/b, 56121 Pisa
email:   [email protected]
blog:    http://granburrone.blogspot.com
gpg key: DFD581C5 - 13/11/2003


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/