GEODE-8398: Add SNI support to .NET API (#634)
authorMichael Martell <mmartell@pivotal.io>
Wed, 19 Aug 2020 22:50:49 +0000 (15:50 -0700)
committerGitHub <noreply@github.com>
Wed, 19 Aug 2020 22:50:49 +0000 (15:50 -0700)
commit557e018cdc8952c51ebeb7958fc5c9c076cb20f8
treee336b54ee8959c06e2d881c21327501f080d2fd8
parent932a64fd019b4049b910424249598e76c5f7c742
GEODE-8398: Add SNI support to .NET API  (#634)

- incorporate SNI proxy support into native client API
- Remove redundant initialization of string (PR feedback)
- TcpSslConn ctor was getting a string "host:port" instead of just "host", and needed to split off just the hostname
- Remove hard-coded path to Docker binaries
- Update "Skip" comment for SNI tests

Co-authored-by: Blake Bender <bblake@vmware.com>
35 files changed:
clicache/integration-test2/CMakeLists.txt
clicache/integration-test2/Config.cs.in
clicache/integration-test2/SNITests.cs [new file with mode: 0644]
clicache/src/PoolFactory.cpp
clicache/src/PoolFactory.hpp
cppcache/include/geode/PoolFactory.hpp
cppcache/integration/framework/TestConfig.cpp.in
cppcache/integration/framework/TestConfig.h
cppcache/integration/test/SNITest.cpp
cppcache/integration/test/sni-test-config/geode-config/truststore.p12 [new file with mode: 0644]
cppcache/integration/test/sni-test-config/geode-config/truststore_sni.pem [new file with mode: 0644]
cppcache/src/PoolAttributes.cpp
cppcache/src/PoolAttributes.hpp
cppcache/src/PoolFactory.cpp
cppcache/src/TcpSslConn.cpp
cppcache/src/TcpSslConn.hpp
cppcache/src/TcrConnection.cpp
cppcache/src/ThinClientLocatorHelper.cpp
cppcache/src/ThinClientLocatorHelper.hpp
cppcache/src/ThinClientPoolDM.cpp
cppcache/src/ThinClientPoolDM.hpp
sni-test-config/docker-compose.yml [new file with mode: 0644]
sni-test-config/geode-config/gemfire.properties [new file with mode: 0644]
sni-test-config/geode-config/gfsecurity.properties [new file with mode: 0644]
sni-test-config/geode-config/locator-maeve-keystore.jks [new file with mode: 0644]
sni-test-config/geode-config/server-clementine-keystore.jks [new file with mode: 0644]
sni-test-config/geode-config/server-dolores-keystore.jks [new file with mode: 0644]
sni-test-config/geode-config/truststore.jks [new file with mode: 0644]
sni-test-config/geode-config/truststore.p12 [new file with mode: 0644]
sni-test-config/geode-config/truststore_sni.pem [new file with mode: 0644]
sni-test-config/haproxy.cfg [new file with mode: 0644]
sni-test-config/scripts/forever [new file with mode: 0644]
sni-test-config/scripts/geode-starter-2.gfsh [new file with mode: 0644]
sni-test-config/scripts/geode-starter.gfsh [new file with mode: 0644]
ssl_keys/client_keys/truststore_sni.pem [new file with mode: 0644]