Skip to content

Commit 5bd553b

Browse files
committed
[#1028] Fix cert-manager-and-trust-manager tutorial
1 parent 1b267cb commit 5bd553b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/tutorials/cert-manager-and-trust-manager.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ Then send 100 messages through port 61618, but before replace **dummy_password**
265265

266266
```shell
267267
cd amq-broker/bin
268-
[jboss@artemis-broker-ss-0 bin]$ ./artemis producer --user admin --password admin --url tcp://artemis-broker-ss-0:61618?sslEnabled=true\&keyStorePath=/amq/extra/secrets/amq-ssl-secret/keystore.jks\&keyStorePassword=dummy_password\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit --message-count 100
268+
[jboss@artemis-broker-ss-0 bin]$ ./artemis producer --user admin --password admin --url tcp://artemis-broker-ss-0:61618?sslEnabled=true\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit --message-count 100
269269
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
270-
Connection brokerURL = tcp://artemis-broker-ss-0:61618?sslEnabled=true\&keyStorePath=/amq/extra/secrets/amq-ssl-secret/keystore.jks\&keyStorePassword=dummy_password\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit
270+
Connection brokerURL = tcp://artemis-broker-ss-0:61618?sslEnabled=true\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit
271271
Producer ActiveMQQueue[TEST], thread=0 Started to calculate elapsed time ...
272272
273273
Producer ActiveMQQueue[TEST], thread=0 Produced: 100 messages
@@ -278,9 +278,9 @@ Producer ActiveMQQueue[TEST], thread=0 Elapsed time in milli second : 724 milli
278278
Finally you can receive those 100 messages (again replace **dummy_password** with the password you have used in section **Create secret for keystore password**):
279279

280280
```shell
281-
[jboss@artemis-broker-ss-0 bin]$ ./artemis consumer --user admin --password admin --url tcp://artemis-broker-ss-0:61618?sslEnabled=true\&keyStorePath=/amq/extra/secrets/amq-ssl-secret/keystore.jks\&keyStorePassword=dummy_password\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit --message-count 100
281+
[jboss@artemis-broker-ss-0 bin]$ ./artemis consumer --user admin --password admin --url tcp://artemis-broker-ss-0:61618?sslEnabled=true\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit --message-count 100
282282
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
283-
Connection brokerURL = tcp://artemis-broker-ss-0:61618?sslEnabled=true\&keyStorePath=/amq/extra/secrets/amq-ssl-secret/keystore.jks\&keyStorePassword=dummy_password\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit
283+
Connection brokerURL = tcp://artemis-broker-ss-0:61618?sslEnabled=true\&trustStorePath=/amq/extra/configmaps/ca-bundle/truststore.jks\&trustStorePassword=changeit
284284
Consumer:: filter = null
285285
Consumer ActiveMQQueue[TEST], thread=0 wait until 100 messages are consumed
286286
Consumer ActiveMQQueue[TEST], thread=0 Consumed: 100 messages

examples/artemis/artemis_ssl_acceptor_cert_and_trust_managers.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ spec:
99
protocols: all
1010
sslEnabled: true
1111
sslSecret: ssl-acceptor-ssl-secret
12-
verifyHost: true
13-
needClientAuth: true
1412
deploymentPlan:
1513
extraMounts:
1614
secrets:

0 commit comments

Comments
 (0)