Skip to content

Commit

Permalink
Update docs/src/main/asciidoc/_admin-guide/subsystem-configuration/Mi…
Browse files Browse the repository at this point in the history
…croProfile_Reactive_Messsaging_SmallRye.adoc

Co-authored-by: Jan Stourac <jstourac@redhat.com>
  • Loading branch information
kabir and jstourac committed May 18, 2023
1 parent e90ea1a commit 6d18c38
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -354,7 +354,7 @@ amqp-wildfly.elytron.ssl.context=test
Each of the new lines has the following meaning:

* `amqp-use-ssl=true` - specifies that we want to use a secure connection when connecting to the broker.
* `amqp-wildfly.elytron.ssl.context=test` - this is not needed if Kafka is secured with a CA signed certificate. If you are using self-signed certificates, you will need to specify a truststore in the Elytron subsystem, and create an `SSLContext` referencing that. The value of this property is used to look up the `SSLContext` in the Elytron subsystem under `/subsystem=elytron/client-ssl-context=*` in the WildFly management model. In this case the property value is `test`, so we look up the `SSLContext` defined by `/subsystem=elytron/client-ssl-context=test` and use that configure the truststore to use for the connection to Kafka.
* `amqp-wildfly.elytron.ssl.context=test` - this is not needed if AMQ broker is secured with a CA signed certificate. If you are using self-signed certificates, you will need to specify a truststore in the Elytron subsystem, and create an `SSLContext` referencing that. The value of this property is used to look up the `SSLContext` in the Elytron subsystem under `/subsystem=elytron/client-ssl-context=*` in the WildFly management model. In this case the property value is `test`, so we look up the `SSLContext` defined by `/subsystem=elytron/client-ssl-context=test` and use that configure the truststore to use for the connection to AMQ broker.

Instead of configuring these properties on the connector level, we could also have defined them on the individual channels. E.g.: `mp.messaging.incoming.from.wildfly.elytron.ssl.context=test` would choose the `test` SSLContext for the `from` incoming channel.

Expand Down

0 comments on commit 6d18c38

Please sign in to comment.