Provider fails when using ssl with "Bad Request (Invalid Header Name)"
----------------------------------------------------------------------

                 Key: SM-1663
                 URL: https://issues.apache.org/activemq/browse/SM-1663
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: servicemix-cxf-bc-2008.01
         Environment: Client: WinXP, JDK1.5, Servicemix 3.2.3-SNAPSHOT
Server: IIS6
            Reporter: Steve Chernyak


The following conduit configuration works as expected with ServiceMix 3.2.2. 
However, it fails when for some (not all) requests when upgraded to Servicemix 
3.2.3-SNAPSHOT.
   <http:conduit
      name="{http://www.someservice.com}APIServiceSoap.http-conduit";>

      <http:tlsClientParameters>
         <sec:keyManagers keyPassword="somepassword">
            <sec:keyStore type="JKS" password="somepassword"
               file="/jdk1.5.0_11/jre/lib/security/cacerts" />
         </sec:keyManagers>
         <sec:trustManagers>
            <sec:keyStore type="JKS" password="somepassword"
               file="jdk1.5.0_11/jre/lib/security/cacerts" />
         </sec:trustManagers>
         <sec:cipherSuitesFilter>
            <!--
               these filters ensure that a ciphersuite with
               export-suitable or null encryption is used, but exclude
               anonymous Diffie-Hellman key change as this is vulnerable
               to man-in-the-middle attacks
            -->
            <sec:include>.*_EXPORT_.*</sec:include>
            <sec:include>.*_EXPORT1024_.*</sec:include>
            <sec:include>.*_WITH_DES_.*</sec:include>
            <sec:include>.*_WITH_NULL_.*</sec:include>
            <sec:exclude>.*_DH_anon_.*</sec:exclude>
         </sec:cipherSuitesFilter>
      </http:tlsClientParameters>
      <http:client AutoRedirect="true" Connection="Keep-Alive" />
   </http:conduit>

The generated request contains two text/xml declarations for content type: 
Content-Type=[text/xml, text/xml], but even if all of the headers are removed 
from the request, it sill fails with ""Bad Request (Invalid Header Name)"

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

Reply via email to