Skip to content

Commit

Permalink
AMQP-845: SSL Doc Polishing
Browse files Browse the repository at this point in the history
JIRA: https://jira.spring.io/browse/AMQP-845

**cherry-pick to 2.0.x** but change the second sentence to

Also, the `RabbitConnectionFactoryBean` will call `enableHostnameVerification()` if you set the `enableHostnameVerification` property to `true`; this will be the default in version 2.1.

* Polishing
  • Loading branch information
garyrussell authored and artembilan committed Nov 28, 2018
1 parent 2f075e1 commit 9045721
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/reference/asciidoc/amqp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,10 @@ Starting with Spring AMQP _version 1.5_, these properties can be set directly on
If both discrete properties and `sslPropertiesLocation` is provided, properties in the latter will override the
discrete values.

IMPORTANT: Starting with version 2.0, the server certificate is validated by default because it is more secure.
If you wish to skip this validation for some reason, set the factory bean's `skipServerCertificateValidation` property to `true`.
Starting with version 2.1, the `RabbitConnectionFactoryBean` now calls `enableHostnameVerification()` by default; to revert to the previous behavior, set the `enableHostnameVerification` property to `false`.

[[routing-connection-factory]]
===== Routing Connection Factory

Expand Down

0 comments on commit 9045721

Please sign in to comment.