Using SSL with JBoss Using JSSE

A prerequisite to using SSL is that you have the JSSE package installed as define by the JSSE installation guide. If you don't have the JSSE package, you can download it from http://java.sun.com/products/jsse/index.html. To test that you have JSEE installed, you need to be able to compile and run this simple installation test case:

 import java.net.*; import javax.net.ServerSocketFactory; import javax.net.ssl.*; public class JSSE_install_check { public static void main(String[] args) throws Exception { ServerSocketFactory factory = SSLServerSocketFactory.getDefault(); SSLServerSocket sslSocket = (SSLServerSocket) factory.createServerSocket(12345); String [] cipherSuites = sslSocket.getEnabledCipherSuites(); for(int ...

Get JBoss™ Administration and Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.