Im trying to get SSL to work on a ServerSocket that I create. I am using JSSE, but where is the right place to stick my self-signed certificate file?
I looked in the documentation on SSL and it says something about a JAAS security domain. Could someone post a quick one on how to create a ServerSocket (or SSLServerSocket) using this info and config?
The documentation is in relation to how to use SSL with JBoss invokers, not with your own server sockets.
Nevertheless, the certificates should go to a keystore. Refer to the Sun documentation on the 'keygen' tool and related API's.