Author: buildbot
Date: Thu Aug 14 15:20:40 2014
New Revision: 919341
Log:
Production update by buildbot for activemq
Modified:
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/ssl-transport-reference.html
Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/activemq/content/ssl-transport-reference.html
==============================================================================
--- websites/production/activemq/content/ssl-transport-reference.html (original)
+++ websites/production/activemq/content/ssl-transport-reference.html Thu Aug
14 15:20:40 2014
@@ -82,36 +82,14 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h3
id="SSLTransportReference-TheSSLTransport">The SSL Transport</h3>
-
-<p>The SSL transport allows clients to connect to a remote ActiveMQ broker
using SSL over a TCP socket.</p>
-
-<h4 id="SSLTransportReference-ConfigurationSyntax">Configuration Syntax</h4>
-
-<p><strong>ssl://hostname:port?transportOptions</strong></p>
-
-<h4 id="SSLTransportReference-TransportOptions">Transport Options</h4>
-
-<p>The configuration options from <a shape="rect"
href="tcp-transport-reference.html">TCP</a> are relevant.</p>
-<h4 id="SSLTransportReference-ExampleURI">Example URI</h4>
-
-<div class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
+<div class="wiki-content maincontent"><h3
id="SSLTransportReference-TheSSLTransport">The SSL Transport</h3><p>The SSL
transport allows clients to connect to a remote ActiveMQ broker using SSL over
a TCP socket.</p><h4
id="SSLTransportReference-ConfigurationSyntax">Configuration
Syntax</h4><p><strong>ssl://hostname:port?transportOptions</strong></p><h4
id="SSLTransportReference-TransportOptions">Transport Options</h4><p>The
configuration options from <a shape="rect"
href="tcp-transport-reference.html">TCP</a> are relevant.</p><h4
id="SSLTransportReference-ExampleURI">Example URI</h4><div class="preformatted
panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>ssl://localhost:61616?trace=false
</pre>
-</div></div>
-
-<h4 id="SSLTransportReference-SSLServerSocketoptions">SSLServerSocket
options</h4>
-<p>From version 5.4 any <a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLServerSocket.html"
rel="nofollow">SSLServerSocket</a> option may be set on a TransportConnection
via <strong>?transport.XXX</strong>, for example:</p>
-<div class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
+</div></div><h4
id="SSLTransportReference-SSLServerSocketoptions">SSLServerSocket
options</h4><p>From version 5.4 any <a shape="rect" class="external-link"
href="http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLServerSocket.html"
rel="nofollow">SSLServerSocket</a> option may be set on a TransportConnection
via <strong>?transport.XXX</strong>, for example:</p><div class="preformatted
panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>ssl://localhost:61616?transport.enabledCipherSuites=SSL_RSA_WITH_RC4_128_SHA,SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
ssl://localhost:61616?transport.needClientAuth=true
</pre>
-</div></div>
-
-<h4 id="SSLTransportReference-Clientconfiguration">Client configuration</h4>
-<p>JMS clients can simply use the <a shape="rect" class="external-link"
href="http://activemq.apache.org/maven/5.9.0/apidocs/org/apache/activemq/ActiveMQSslConnectionFactory.html">ActiveMQSslConnectionFactory</a>
together with an ssl:// broker url as the following Spring configuration
illustrates</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><p> </p><h4
id="SSLTransportReference-Clientconfiguration">Client configuration</h4><p>JMS
clients can simply use the <a shape="rect" class="external-link"
href="http://activemq.apache.org/maven/5.9.0/apidocs/org/apache/activemq/ActiveMQSslConnectionFactory.html">ActiveMQSslConnectionFactory</a>
together with an ssl:// broker url as the following Spring configuration
illustrates</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
<script class="theme: Default; brush: xml; gutter: false"
type="syntaxhighlighter"><![CDATA[
<bean id="AMQJMSConnectionFactory"
class="org.apache.activemq.ActiveMQSslConnectionFactory">
<property name="trustStore"
value="/path/to/truststore.ts" />
@@ -123,44 +101,17 @@ ssl://localhost:61616?transport.needClie
<property name="password" value="admin" />
</bean>
]]></script>
-</div></div>
-
-<p>Unless the broker's SSL transport is configured for
transport.needClientAuth=true, the client won't need a keystore but requires a
truststore in order to validate the broker's certificate.</p>
-
-<h4 id="SSLTransportReference-OtherLinks">Other Links</h4>
-
-<ul><li><a shape="rect" href="how-do-i-use-ssl.html">How do I use
SSL</a></li></ul>
-
-
-
-<p>You can also turn on SSL debug informations this way by adding:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
--Djavax.net.debug=ssl
+</div></div><p>Unless the broker's SSL transport is configured for
transport.needClientAuth=true, the client won't need a keystore but requires a
truststore in order to validate the broker's certificate.</p><p>Similar to the
broker transport configuration you can pass on SSL transport options using
<strong>?socket.XXX</strong>, such
as</p><pre>ssl://localhost:61616?socket.enabledCipherSuites=SSL_RSA_WITH_RC4_128_SHA,SSL_DH_anon_WITH_3DES_EDE_CBC_SHA</pre><h4
id="SSLTransportReference-OtherLinks">Other Links</h4><ul><li><a shape="rect"
href="how-do-i-use-ssl.html">How do I use SSL</a></li></ul><p>You can also turn
on SSL debug informations this way by adding:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[-Djavax.net.debug=ssl
]]></script>
-</div></div>
-
-<p>this way you can see what goes wrong and why you get connections closed.</p>
-
- <div class="aui-message problem shadowed information-macro">
+</div></div><p>this way you can see what goes wrong and why you get
connections closed.</p> <div class="aui-message problem shadowed
information-macro">
<p class="title">"Be careful with multicast discovery"</p>
<span class="aui-icon icon-problem">Icon</span>
<div class="message-content">
-
-<p>If your XML configuration file contains the following and you wish to use
SSL</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[
- <networkConnector uri="multicast://default"/>
+ <p>If your XML configuration file contains the
following and you wish to use SSL</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[ <networkConnector
uri="multicast://default"/>
]]></script>
-</div></div>
-
-<p>Then you will currently need to comment that out.<br clear="none">
-The reason is to prevent ActiveMQ atempting to connect to itself - if you do
this with a self-signed<br clear="none">
-certificate, you will get a constant spam of certificate_unknown<br
clear="none">
-stacktraces to the console, as the broker is not configured with the<br
clear="none">
-truststore,</p>
+</div></div><p>Then you will currently need to comment that out.<br
clear="none"> The reason is to prevent ActiveMQ atempting to connect to itself
- if you do this with a self-signed<br clear="none"> certificate, you will get
a constant spam of certificate_unknown<br clear="none"> stacktraces to the
console, as the broker is not configured with the<br clear="none">
truststore,</p>
</div>
</div></div>
</td>