Create application-no-ssl.properties to ensure Apache Geode is configured to not use SSL network communications betwen client & server.

Activate the 'no-ssl' profile in the SpringBootApachGeodeIntegrationTest class example.
This commit is contained in:
John Blum
2021-03-25 01:39:05 -07:00
parent 1922928dee
commit e17bb3986f
2 changed files with 10 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ import lombok.ToString;
* @see org.springframework.test.context.junit4.SpringRunner
* @since 1.5.0
*/
@ActiveProfiles("spring-geode-docs-integration-test-client")
@ActiveProfiles({ "spring-geode-docs-integration-test-client", "no-ssl" })
@DirtiesContext
@RunWith(SpringRunner.class)
@SpringBootTest(

View File

@@ -0,0 +1,9 @@
# Spring Boot application.properties used to ensure Apache Geode is not configured to use SSL network communications.
javax.net.ssl.keyStore=
javax.net.ssl.keyStoreType=
javax.net.ssl.keyStorePassword=
javax.net.ssl.trustStore=
javax.net.ssl.trustStoreType=
javax.net.ssl.trustStorePassword=
spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled=false