You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geode.apache.org by Sai Boorlagadda <sa...@gmail.com> on 2019/03/14 20:33:54 UTC
Can Geode work with hostnames instead of IPs?
Is there any guide on how to run Geode with hostnames?
Does Geode resolves the hostname to IPs and use IPs while connecting to
peers? This means that for SSL then the certificate needs SAN to contain IP
and not just hostname.
Sai
Re: Can Geode work with hostnames instead of IPs?
Posted by Jared Stewart <st...@gmail.com>.
I recall that at least gfsh connecting to a locator over https will attempt
to verify the hostname by default - see
https://issues.apache.org/jira/browse/GEODE-3445
Best,
Jared
On Wed, Mar 27, 2019 at 3:38 PM Bruce Schuchardt <bs...@pivotal.io>
wrote:
> Yes, it uses InetAddresses. I think it could be changed to use
> InetSocketAddresses but AFAIK java.net.Socket code just plucks the
> InetAddress out of one of those and uses it, ignoring the host name.
>
> On 3/14/19 1:33 PM, Sai Boorlagadda wrote:
> > Is there any guide on how to run Geode with hostnames?
> > Does Geode resolves the hostname to IPs and use IPs while connecting
> > to peers? This means that for SSL then the certificate needs SAN to
> > contain IP and not just hostname.
> >
> > Sai
>
Re: Can Geode work with hostnames instead of IPs?
Posted by Bruce Schuchardt <bs...@pivotal.io>.
Yes, it uses InetAddresses. I think it could be changed to use
InetSocketAddresses but AFAIK java.net.Socket code just plucks the
InetAddress out of one of those and uses it, ignoring the host name.
On 3/14/19 1:33 PM, Sai Boorlagadda wrote:
> Is there any guide on how to run Geode with hostnames?
> Does Geode resolves the hostname to IPs and use IPs while connecting
> to peers? This means that for SSL then the certificate needs SAN to
> contain IP and not just hostname.
>
> Sai