Author: jbertram
Date: Sat Mar 16 01:52:07 2019
New Revision: 1041944
Log:
Fix formatting for SSL faq
Modified:
websites/production/activemq/content/activemq-website/how-do-i-use-ssl.html
Modified:
websites/production/activemq/content/activemq-website/how-do-i-use-ssl.html
==============================================================================
--- websites/production/activemq/content/activemq-website/how-do-i-use-ssl.html
(original)
+++ websites/production/activemq/content/activemq-website/how-do-i-use-ssl.html
Sat Mar 16 01:52:07 2019
@@ -128,7 +128,7 @@
</code></pre></div> </div>
</li>
<li>Export the brokerâs certificate so it can be shared with clients:
- <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -export -alias broker -keystore broker.ks -file
broker\_cert
+ <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -export -alias broker -keystore broker.ks -file
broker_cert
</code></pre></div> </div>
</li>
<li>Create a certificate/keystore for the client:
@@ -137,7 +137,7 @@
</li>
<li>Create a truststore for the client, and import the brokerâs
certificate. This establishes that the client âtrustsâ the broker:
- <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -import -alias broker -keystore client.ts -file
broker\_cert
+ <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -import -alias broker -keystore client.ts -file
broker_cert
</code></pre></div> </div>
</li>
</ol>
@@ -148,7 +148,7 @@ certificate. This establishes that the c
<p>Before starting the brokerâs VM set the ACTIVEMQ_SSL_OPTS environment
variable so that it knows to use the broker keystore. (note that in previous
versions of ActiveMQ this property was called SSL_OPTS in some scripts. As of
v5.12.0 all scripts use ACTIVEMQ_SSL_OPTS)</p>
-<div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>export ACTIVEMQ\_SSL\_OPTS =
-Djavax.net.ssl.keyStore=/path/to/broker.ks
-Djavax.net.ssl.keyStorePassword=password
+<div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>export ACTIVEMQ_SSL_OPTS =
-Djavax.net.ssl.keyStore=/path/to/broker.ks
-Djavax.net.ssl.keyStorePassword=password
</code></pre></div></div>
<h4 id="using-spring-to-configure-ssl-for-a-broker-instance">Using Spring to
configure SSL for a Broker instance</h4>
@@ -176,11 +176,11 @@ steps:</p>
<ol>
<li>Export the clientâs certificate so it can be shared with broker:
- <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -export -alias client -keystore client.ks -file
client\_cert
+ <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -export -alias client -keystore client.ks -file
client_cert
</code></pre></div> </div>
</li>
<li>Create a truststore for the broker, and import the clientâs
certificate. This establishes that the broker âtrustsâ the client:
- <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -import -alias client -keystore broker.ts -file
client\_cert
+ <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>keytool -import -alias client -keystore broker.ts -file
client_cert
</code></pre></div> </div>
</li>
<li>Add