Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Not sure how to set this up.

For starters, SNI is only supported with Java 8 on Jetty 9.3.x

SNI support was added recently, as in the last month.
The Jetty 9.3.0.RC0 release has an early implementation.  urge caution here though its implementation and configuration are still evolving.
Once Jetty 9.3.0 final hits then the support will be blessed and stable.

Also, what do you mean by "each instance"?
Does that mean an instance of Jetty, in its own JVM?
Or something else?

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Sun, May 17, 2015 at 1:49 AM, Steve Sobol - Lobos Studios <steve@xxxxxxxxxxxxxxxx> wrote:
Ok, I'm a little confused regarding how all of the xml files and start.ini interact in Jetty 9.x.

Here's what I'd like to do

** have an HTTP 1.1 server instance listening on port 80
** have an SNI-enabled server instance listening on port 443
** have separate deployment directories for each instance, into which I will put XML files like this one:

<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/</Set>
  <Set name="war">/var/www/SomeWebsite</Set>
  <Set name="virtualHosts">
    <Array type="String">
      <Item>SomeWebsite.com</Item>
      <Item>www.SomeWebsite.com</Item>
 
    </Array>
  </Set>
</Configure>

and I have something similar working on my production server, but it's running an earlier version of Jetty (9.0.something or 9.1.something) and things look like they've changed significantly (or maybe I'm just tired - it's almost 2am here).

I think my #1 problem is that I'm playing around with 9.3 locally and I can't figure out how to get Jetty to read jetty-ssl-extended-context.xml. It wants to load {jetty.base}/etc/keystore even though I modified jetty-ssl-extended-context.xml to look for the keystore somewhere else.

Help, please? Thanks

--
Lobos Studios - Website and Mobile App Design & Development; IT Support; Computer Maintenance
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 310.945.2410 - Cleveland 216.242.4010
www.LobosStudios.com * www.facebook.com/LobosStudios * @LobosStudios


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top