You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Mike Gerdes (JIRA)" <ji...@apache.org> on 2006/03/30 14:44:10 UTC

[jira] Created: (SM-371) Support for HTTPS

Support for HTTPS
-----------------

         Key: SM-371
         URL: https://issues.apache.org/activemq/browse/SM-371
     Project: ServiceMix
        Type: New Feature

  Components: servicemix-components  
    Reporter: Mike Gerdes


The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (SM-371) Support for HTTPS

Posted by Guillaume Nodet <gn...@gmail.com>.
Good point, thanks.
However the main problem is that we currently use jetty6 and Geronimo
uses jetty5. So the way would be to rewrite the wrapper, but this
should not be difficult.
What I had in mind was instead to be able to reuse the existing
Geronimo (or any other app server) configured web server and just
deploy a simple servlet which would delegate all requests to the
servicemix-http component. I have not find a way yet to do that,
because until Geronimo has a global read-write JNDI context, I do not
really know how to do such a thing without using geronimo kernel
directly to retrieve a reference...

Guillaume

On 4/6/06, Aaron Mulder (JIRA) <ji...@apache.org> wrote:
>     [ https://issues.apache.org/activemq/browse/SM-371?page=comments#action_35999 ]
>
> Aaron Mulder commented on SM-371:
> ---------------------------------
>
> FYI, Geronimo has a custom override of the Jetty HTTPS connector that hooks into the keystore service provided by Geronimo (essentially, allowing us to provide an SSLServerSocketFactory instead of all the various keystore settings).  It would be great if there was a way to plug that in to ServiceMix as an alternative when configuring HTTPS -- or else provide the same kind of hook in the ServiceMix code so Geronimo could provide an SSLServiceSocketFactory for the HTTPS connectors when ServiceMix is running on Geronimo.
>
> > Support for HTTPS
> > -----------------
> >
> >          Key: SM-371
> >          URL: https://issues.apache.org/activemq/browse/SM-371
> >      Project: ServiceMix
> >         Type: New Feature
>
> >   Components: servicemix-components
> >     Reporter: Mike Gerdes
> >     Assignee: Guillaume Nodet
> >      Fix For: 3.0-M1
> >  Attachments: HttpsConnector.java, HttpsSoapConnector.java
> >
> >
> > The lightweight httpconnector component of SM enhanced with SSL support.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    https://issues.apache.org/activemq/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>

[jira] Updated: (SM-371) Support for HTTPS

Posted by "Mike Gerdes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-371?page=all ]

Mike Gerdes updated SM-371:
---------------------------

    Attachment: HttpsConnector.java

> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>  Attachments: HttpsConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SM-371) Support for HTTPS

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-371?page=comments#action_35997 ] 

Guillaume Nodet commented on SM-371:
------------------------------------

I have changed the patch a bit to support default properties from System.getProperty and added an HttpsInvoker (not needed if all configuration is done with system props).

Author: gnodet
Date: Thu Apr  6 07:40:38 2006
New Revision: 391997

URL: http://svn.apache.org/viewcvs?rev=391997&view=rev
Log:
SM-371: support for https in servicemix-components
Thanks to Mike Gerdes for the patch

Added:
    incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/http/HttpsConnector.java
    incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/http/HttpsInvoker.java
    incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/http/HttpsSoapConnector.java
    incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/http/client.keystore   (with props)
    incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/http/server.keystore   (with props)
Modified:
    incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/HttpTest.java
    incubator/servicemix/trunk/servicemix-components/src/test/resources/org/apache/servicemix/components/http/example.xml



> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SM-371) Support for HTTPS

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-371?page=all ]
     
Guillaume Nodet resolved SM-371:
--------------------------------

    Fix Version: 3.0-M1
     Resolution: Fixed
      Assign To: Guillaume Nodet

> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>     Assignee: Guillaume Nodet
>      Fix For: 3.0-M1
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (SM-371) Support for HTTPS

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-371?page=all ]

Guillaume Nodet updated SM-371:
-------------------------------

    Fix Version:     (was: incubation)

> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SM-371) Support for HTTPS

Posted by "Aaron Mulder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-371?page=comments#action_35999 ] 

Aaron Mulder commented on SM-371:
---------------------------------

FYI, Geronimo has a custom override of the Jetty HTTPS connector that hooks into the keystore service provided by Geronimo (essentially, allowing us to provide an SSLServerSocketFactory instead of all the various keystore settings).  It would be great if there was a way to plug that in to ServiceMix as an alternative when configuring HTTPS -- or else provide the same kind of hook in the ServiceMix code so Geronimo could provide an SSLServiceSocketFactory for the HTTPS connectors when ServiceMix is running on Geronimo.

> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>     Assignee: Guillaume Nodet
>      Fix For: 3.0-M1
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (SM-371) Support for HTTPS

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-371?page=all ]
     
Guillaume Nodet reopened SM-371:
--------------------------------


We usually put the issue to resolved when the fix / feature has been checked in svn ;) 
Thanks again for the patch. I will commit them asap.
Btw, a simple junit test would be very handy to 
  * check that they work
  * prevent regressions 
If you wich to write one, take a look at 
  http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/http/
and 
  http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-components/src/resources/java/org/apache/servicemix/components/http/

Please let me kmow if you plan to do so...


> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>      Fix For: incubation
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SM-371) Support for HTTPS

Posted by "Mike Gerdes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-371?page=all ]
     
Mike Gerdes resolved SM-371:
----------------------------

    Fix Version: incubation
     Resolution: Fixed

> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>      Fix For: incubation
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (SM-371) Support for HTTPS

Posted by "Mike Gerdes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-371?page=all ]

Mike Gerdes updated SM-371:
---------------------------

    Attachment: HttpsSoapConnector.java

> Support for HTTPS
> -----------------
>
>          Key: SM-371
>          URL: https://issues.apache.org/activemq/browse/SM-371
>      Project: ServiceMix
>         Type: New Feature

>   Components: servicemix-components
>     Reporter: Mike Gerdes
>  Attachments: HttpsConnector.java, HttpsSoapConnector.java
>
>
> The lightweight httpconnector component of SM enhanced with SSL support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira