Existing examples such as SampleMongoApplicationReactiveSslTests uses @SpringBootTest which will use SslAutoConfiguration. If @DataMongo is used then @Import(SslAutoConfiguration.class) should be declared. I think it would be great to add SslAutoConfigure here
The same for the rest of them such DataRedis, DataCouchbase, DataElasticSearch.
I would like to know your opinion on this topic before raising any PR.
Thanks in advance
Comment From: SoumyoNathTripathy
// For MongoDB:
// If you are using the @SpringBootTest annotation, which relies on SslAutoConfiguration, and you are also using
// @DataMongo, you may need to explicitly import SslAutoConfiguration in your test class using @Import annotation.
// This ensures that SSL configuration is applied correctly for the MongoDB module.
Comment From: philwebb
This feels a bit like #35252 which we decided was a bug 3.1.x. I think we could consider this at the same time. @eddumelendez If you have any ideas and time for a PR that would be great!
Comment From: scottfrederick
Closing in favor of #36038