You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by toby cabot <to...@caboteria.org> on 2004/10/05 17:45:51 UTC

geronimo/jetty https?

Hi folks,

I'd like to experiment with running Geronimo/Jetty with https.  I
can't find much info on the wiki or google, so here I am with hat in
hand asking if anyone has some pointers.  For example, does Geronimo
come up with https enabled already?  If not where should I start to
look?

Thanks,
Toby


Re: geronimo/jetty https?

Posted by toby cabot <to...@caboteria.org>.
Thanks Jeremy!  I'm making good progress with your help.

I've started a wiki page with my notes so far:
http://wiki.apache.org/geronimo/JettySSL

Regards,
Toby

Re: geronimo/jetty https?

Posted by Jeremy Boynes <jb...@gluecode.com>.
toby cabot wrote:
> Hi folks,
> 
> I'd like to experiment with running Geronimo/Jetty with https.  I
> can't find much info on the wiki or google, so here I am with hat in
> hand asking if anyone has some pointers.  For example, does Geronimo
> come up with https enabled already?  If not where should I start to
> look?
> 

Don't know if it has been tried yet but should just work using the 
HTTPSConnector.

You should just need to add another WebConnector with a GBean defn 
something like:

     <gbean 
name="geronimo.server:type=WebConnector,container=Jetty,port=8443" 
class="org.apache.geronimo.jetty.connector.HTTPSConnector">
         <attribute name="port" type="int">8443</attribute>
         <reference 
name="JettyContainer">geronimo.server:type=WebContainer,container=Jetty</reference>
         <!--        <attribute name="MaxConnections" 
type="int">10</attribute>-->
         <!--        <attribute name="MaxIdleTime" 
type="int">10</attribute>-->
     </gbean>

either by modding the system plan, or in a child configuration.

Same should go for AJP.

You might need to do some work setting up the keystore - it should 
default to Jetty's but if you want to take a shot at adding a GBean 
managed keystore to Geronimo I think it would be useful.

--
Jeremy