Configure Jetty to use HTTPS [message #80276] |
Fri, 05 January 2007 22:39 |
Eclipse User |
|
|
|
Originally posted by: jason.duley.gmail.com
Hi,
I was wondering if someone could point me in the direction of any documentation on how to configure the Jetty plug-in running in Eclipse to use SSL? I would actually like to have both HTTP and HTTPS enabled for the same webapp. Thanks.
Jason
|
|
|
Re: Configure Jetty to use HTTPS [message #80337 is a reply to message #80276] |
Mon, 08 January 2007 07:39 |
|
Hi!
Jason Duley wrote:
> Hi,
> I was wondering if someone could point me in the direction of any documentation on how to configure the Jetty plug-in running in Eclipse to use SSL? I would actually like to have both HTTP and HTTPS enabled for the same webapp. Thanks.
> Jason
I'm not sure if there is a general configuration strategy for this. But
if you use the Jetty started by the org.eclipse.equinox.http.jetty
plug-in then this can be done by setting several properties in the
config.ini file.
# enable ssl
org.eclipse.equinox.http.jetty.ssl.enabled=true
# set ssl port (defaults to 443)
#org.osgi.service.http.port.secure=443
#org.eclipse.equinox.http.jetty.ssl.keystore
#org.eclipse.equinox.http.jetty.ssl.password
#org.eclipse.equinox.http.jetty.ssl.keypassword
#org.eclipse.equinox.http.jetty.ssl.needclientauth
#org.eclipse.equinox.http.jetty.ssl.wantclientauth
#org.eclipse.equinox.http.jetty.ssl.protocol
#org.eclipse.equinox.http.jetty.ssl.algorithm
#org.eclipse.equinox.http.jetty.ssl.keystoretype
See this class for details:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.equinox .http.jetty/src/org/eclipse/equinox/http/jetty/internal/Acti vator.java?revision=1.3
Cu, Gunnar
--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03646 seconds