Hey folks,

i'm having a hard time with AMQ again....:-)

In a nutshell:

* Broker <- http -> Broker works using a configuration like this on both
brokers:

  <transportConnectors>
     <transportConnector name="inbound_openwire" uri="tcp://0.0.0.0:61616"/>
     <transportConnector name="inbound_http"    
uri="http://0.0.0.0:61617"/>
  </transportConnectors>
  <networkConnectors>
     <networkConnector name="outbound_http"
uri="static://(http://172.18.154.26:61617?trace=true)" networkTTL="5"/>
  </networkConnectors>


* Broker <- SSL (just tcp) -> Broker works using a configuration like this
on both brokers:

  <transportConnectors>
      <transportConnector name="inbound_openwire"
uri="tcp://0.0.0.0:61616?trace=true"/>
      <transportConnector name="inbound_http"    
uri="ssl://0.0.0.0:61617?trace=true"/>
   </transportConnectors>
   <networkConnectors>
    <networkConnector name="outbound_http"
uri="static://(ssl://172.18.154.26:61617?trace=true)" networkTTL="5"/>
   </networkConnectors>

Now the logical step for establishing HTTPS-connections would be to replace
"ssl" with "https" like this:


   <transportConnectors>
      <transportConnector name="inbound_openwire"
uri="tcp://0.0.0.0:61616"/>
      <transportConnector name="inbound_http"    
uri="https://0.0.0.0:61617"/>
   </transportConnectors>
   <networkConnectors>
     <networkConnector name="outbound_http"
uri="static://(https://172.18.154.15:61617?trace=true)"  networkTTL="5"/>
   </networkConnectors>

Unfortunately, this doesn't work.

The brokers give me the following errors on startup:

WARN  DiscoveryNetworkConnector      - Could not start network bridge
between: vm://localhost and: https://172.18.154.15:61617?trace=true due to:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

A configuration like this:

   <transportConnectors>
      <transportConnector name="inbound_openwire"
uri="tcp://localhost:61616?trace=true"/>
      <transportConnector name="inbound_http"    
uri="ssl://0.0.0.0:61617?trace=true"/>
   </transportConnectors>
   <networkConnectors>
     <networkConnector name="outbound_http"
uri="static://(https://172.18.154.15:61617)" networkTTL="5"/>
   </networkConnectors>

doesn't work out as well.

Error-message:

Could not start network bridge between: vm://localhost and:
https://172.18.154.15:61617 due to:
org.apache.commons.httpclient.ProtocolException: The server 172.18.154.15
failed to respond with a valid HTTP response


Ok, great! http is working, SSL is working, but https not?

Any ideas?
-- 
View this message in context: 
http://www.nabble.com/http-ok%2C-ssl-ok%2C-HTTPS--%3E-NOT-ok--tp17131092s2354p17131092.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to