You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Will Franco (JIRA)" <ji...@apache.org> on 2007/08/14 15:03:22 UTC

[jira] Created: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

 Bug in HTTP BC when configuring managed keystore for SSL 
----------------------------------------------------------

                 Key: SM-1029
                 URL: https://issues.apache.org/activemq/browse/SM-1029
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-http
    Affects Versions: 3.1.1
         Environment: ServiceMix deployed on Windows XP
            Reporter: Will Franco
            Priority: Minor


The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   

The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 

This bug is affecting the option of having a managed trust store for SSL. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39930 ] 

Guillaume Nodet commented on SM-1029:
-------------------------------------

Fancy providing a patch for that?

>  Bug in HTTP BC when configuring managed keystore for SSL 
> ----------------------------------------------------------
>
>                 Key: SM-1029
>                 URL: https://issues.apache.org/activemq/browse/SM-1029
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: ServiceMix deployed on Windows XP
>            Reporter: Will Franco
>            Priority: Minor
>
> The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   
> The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 
> This bug is affecting the option of having a managed trust store for SSL. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

Posted by "Martin Krasser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Krasser updated SM-1029:
-------------------------------

    Attachment: ServiceMixSslSocketConnector.patch

I had the same problem with the consumer endpoint. Attached is a patch file that fixes this issue.

>  Bug in HTTP BC when configuring managed keystore for SSL 
> ----------------------------------------------------------
>
>                 Key: SM-1029
>                 URL: https://issues.apache.org/activemq/browse/SM-1029
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: ServiceMix deployed on Windows XP
>            Reporter: Will Franco
>            Priority: Minor
>         Attachments: ServiceMixSslSocketConnector.patch
>
>
> The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   
> The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 
> This bug is affecting the option of having a managed trust store for SSL. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

Posted by "Will Franco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40015 ] 

Will Franco commented on SM-1029:
---------------------------------

thanks 



>  Bug in HTTP BC when configuring managed keystore for SSL 
> ----------------------------------------------------------
>
>                 Key: SM-1029
>                 URL: https://issues.apache.org/activemq/browse/SM-1029
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: ServiceMix deployed on Windows XP
>            Reporter: Will Franco
>            Priority: Minor
>         Attachments: ServiceMixSslSocketConnector.patch
>
>
> The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   
> The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 
> This bug is affecting the option of having a managed trust store for SSL. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

Posted by "Will Franco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39931 ] 

Will Franco commented on SM-1029:
---------------------------------

Hi,

Can I give you patch? Absolutely.  Please send me some information on
how to submit this patch.  By the way, I'm currently working on a SOA
project that uses ServiceMix, and my development team and I would like
to participate in the development efforts for this project either by
fixing issues that we find or by adding new features.  Please send me
some information on how we can contribute to the development efforts for
this project.

Regards,

Will Franco





>  Bug in HTTP BC when configuring managed keystore for SSL 
> ----------------------------------------------------------
>
>                 Key: SM-1029
>                 URL: https://issues.apache.org/activemq/browse/SM-1029
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: ServiceMix deployed on Windows XP
>            Reporter: Will Franco
>            Priority: Minor
>
> The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   
> The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 
> This bug is affecting the option of having a managed trust store for SSL. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39932 ] 

Guillaume Nodet commented on SM-1029:
-------------------------------------

This is good news ? We really need more people involved in ServiceMix development.
You will find information on creating patches at
  http://incubator.apache.org/servicemix/contributing.html
Just attach your patch to a JIRA issue ...

See also
  http://incubator.apache.org/servicemix/becoming-a-committer.html

>  Bug in HTTP BC when configuring managed keystore for SSL 
> ----------------------------------------------------------
>
>                 Key: SM-1029
>                 URL: https://issues.apache.org/activemq/browse/SM-1029
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: ServiceMix deployed on Windows XP
>            Reporter: Will Franco
>            Priority: Minor
>
> The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   
> The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 
> This bug is affecting the option of having a managed trust store for SSL. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1029) Bug in HTTP BC when configuring managed keystore for SSL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-1029.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2
                   3.1.2
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?rev=573312&view=rev
URL: http://svn.apache.org/viewvc?rev=573313&view=rev


>  Bug in HTTP BC when configuring managed keystore for SSL 
> ----------------------------------------------------------
>
>                 Key: SM-1029
>                 URL: https://issues.apache.org/activemq/browse/SM-1029
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.1.1
>         Environment: ServiceMix deployed on Windows XP
>            Reporter: Will Franco
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 3.1.2, 3.2
>
>         Attachments: ServiceMixSslSocketConnector.patch
>
>
> The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore".  However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".   
> The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters.   The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to  ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore". 
> This bug is affecting the option of having a managed trust store for SSL. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.