-
2. Re: https tunneling
g_andre May 13, 2002 1:36 PM (in response to g_andre)I read that already but some part are still unclear.
Do I have to write my own https handler in org.jboss.net.protocol.https.
Where to find the test case mentionned by scott.
Thanks. -
3. Re: https tunneling
adrian.brock May 13, 2002 2:05 PM (in response to g_andre)You will need to download from CVS until RC3 comes out.
Regards,
Adrian -
4. Re: https tunneling
g_andre May 13, 2002 2:40 PM (in response to g_andre)I found a hack but i would not call it pretty :)
private static com.sun.net.ssl.internal.www.protocol.https.Handler httpsHandler;
static
{
System.setProperty( "javax.net.ssl.trustStore" , System.getProperty( "jboss.server.home.dir" ) + "/keys/" + System.getProperty( "jboss.server.keystore" ) );
System.out.println( System.getProperty( "jboss.server.home.dir" ) + "/keys/" + System.getProperty( "jboss.server.keystore" ) );
httpsHandler = new com.sun.net.ssl.internal.www.protocol.https.Handler();
}
url = new URL( null , serverUrl , httpsHandler );
Which module do I need to download from CVS?
It would also be good to have a keys directory to store the keystore used by JBoss/Jetty and a variable pointing to it defined by default.