- From: by way of Lars Brueckner <lars.brueckner@ito.tu-darmstadt.de>
- Date: Fri, 24 May 2002 11:18:54 +0200
- To: www-jigsaw@w3.org
- Message-Id: <20020524091739.B4E3027C4D@kontiki.ito.tu-darmstadt.de>
Hello,
there has been some talk on this list about SSL support recently, so somebody
may find the attached patch useful. It adds server-side support for SSL to jigsaw.
<RoughDescription>
* ssl_for_server_sockets.patch
patches class /org/w3c/jigsaw/http/socket/SocketClientFactory.java
Uses jdk1.4 javax.net.ssl.* to provide server-side ssl support
set the property org.w3c.jigsaw.SSLHACK == true in server.props file
You need to create a "keystore" with the keytool programm
(part of jdk1.4) with at least a single self-signed certificate.
(See http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/keytool.html
for examples)
Add the relevant system properties to the Jigsaw start-script using
the -Dproperty=value parameter .
(At least
javax.net.ssl.trustStore=keystorefile and
javax.net.ssl.keyStore=keystorefile
are required)
</RoughDescription>
I also tried to add SSL support for the client side to create an HTTPS proxy,
however that does not work for me, maybe some else knows what's wrong?
Please see the second patch ( for some classes in org/w3c/www/protocol/http ).
Best regards,
Lars
--
Dipl.-Inform. Lars Brückner lars.brueckner@ito.tu-darmstadt.de
IT Transfer Office, Darmstadt University of Technology
PGP-Fingerprint: 8082 5A1B 6ED4 B400 7B53 3665 7EAD 1F4C DDA6 6DEB
Attachments
- text/x-java attachment: ssl_for_server_sockets.patch
- text/x-diff attachment: ssl_for_client_sockets_not_working_yet.patch
Received on Friday, 24 May 2002 05:18:10 UTC