This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 64acfbb  GEODE-5212: Also use the host's canonical (fully qualified) 
name as a SAN in the certificate (#2531)
64acfbb is described below

commit 64acfbbb61c98579d7202e47dfee06516aa1db61
Author: Jens Deppe <[email protected]>
AuthorDate: Thu Sep 27 20:49:59 2018 -0700

    GEODE-5212: Also use the host's canonical (fully qualified) name as a SAN 
in the certificate (#2531)
---
 .../internal/ClientServerHostNameVerificationDistributedTest.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/ClientServerHostNameVerificationDistributedTest.java
 
b/geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/ClientServerHostNameVerificationDistributedTest.java
index a7dd55d..d5afdca 100644
--- 
a/geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/ClientServerHostNameVerificationDistributedTest.java
+++ 
b/geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/ClientServerHostNameVerificationDistributedTest.java
@@ -76,6 +76,7 @@ public class ClientServerHostNameVerificationDistributedTest {
         // ClusterStartupRule uses 'localhost' as locator host
         .sanDnsName(InetAddress.getLoopbackAddress().getHostName())
         .sanDnsName(InetAddress.getLocalHost().getHostName())
+        .sanDnsName(InetAddress.getLocalHost().getCanonicalHostName())
         .sanIpAddress(InetAddress.getLocalHost())
         .sanIpAddress(InetAddress.getByName("0.0.0.0")); // to pass on windows
 
@@ -132,6 +133,7 @@ public class 
ClientServerHostNameVerificationDistributedTest {
         .commonName("locator")
         .sanDnsName(InetAddress.getLoopbackAddress().getHostName())
         .sanDnsName(InetAddress.getLocalHost().getHostName())
+        .sanDnsName(InetAddress.getLocalHost().getCanonicalHostName())
         .sanIpAddress(InetAddress.getLocalHost());
 
     CertificateBuilder serverCertificateWithNoSan = new CertificateBuilder()

Reply via email to