Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Configure Jetty to use HTTPS
Configure Jetty to use HTTPS [message #80276] Fri, 05 January 2007 22:39 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

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/
Re: Configure Jetty to use HTTPS [message #80508 is a reply to message #80337] Tue, 09 January 2007 04:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

.... I just want to add a link that should help --
http://docs.codehaus.org/display/JETTY/How+to+configure+SSL
The only difference is that you use the org.eclipse.equinox.http.jetty
properties instead as Gunnar noted.

Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=158172 as we're
looking to improve the configurability of the Jetty based Http Service
shortly.

-Simon

"Gunnar Wagenknecht" <gunnar@wagenknecht.org> wrote in message
news:enssgd$a6e$1@utils.eclipse.org...
> 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/
Jetty 9.4.38 [message #1842803 is a reply to message #80276] Thu, 01 July 2021 17:21 Go to previous messageGo to next message
vamsi k is currently offline vamsi kFriend
Messages: 3
Registered: July 2021
Junior Member
Hi,

Actually, I have tried to set SameSite attribute in Cookies for JSESSIONID in web.xml, But i couldn't able to fine correct approach to adding given below tag one by one,

Please can any one to suggest.


1 <comment>__SAME_SITE_STRICT__</comment>
2 <session-comment>__SAME_SITE_STRICT__</session-comment>
3 <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" sameSiteCookies="strict" />
Re: Jetty 9.4.38 [message #1842814 is a reply to message #1842803] Fri, 02 July 2021 05:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Look at this page for the best place to ask Jetty questions:

https://www.eclipse.org/jetty/support.php


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:SimpleArtifactRepository file removal logic
Next Topic:OSGI Cache and Feature Dependency: How does it work?
Goto Forum:
  


Current Time: Wed Apr 24 22:57:52 GMT 2024

Powered by FUDForum. Page generated in 0.02944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top