Re: [xSocket-develop] KeyStore & SSLContext factory Questio
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2008-08-13 07:09:42
|
Hello Johnson, the test keystore used by the xSocket test classes has been generated by using the keystore tool: keytool -keystore C:\temp\TestKeyStore.jks -genkey -alias server -keyalg RSA -keypass secret -storepass secret A good description regarding this can be found here: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security6.html. Gregor 2008/8/13 Johnson Chen <joh...@ho...> > Hi, > > First of all , thank you guys for this wonderfull socket library. I have > been testing it on a client-server messaging system for a couple of weeks, > and so far so good. However, when I try to switch the connection mode to SSL > with JDK1.6 SSLContext.getDefault, my system stops working. Then, I tried > the example of SSLContextFactory, it starts working. > > My small question is that how do you guys generate the KeyStore.jks file in > that example. I tried to use keytool to generate my own, but it will not > work. Please kindly give a simple sample of how to create a KeyStore.jks > file to use in xSocket. > > Thank you very much. > > ------------------------------ > Discover the new Windows Vista Learn more!<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |