[ 
https://issues.apache.org/jira/browse/GEODE-6746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071693#comment-17071693
 ] 

Mario Kevo commented on GEODE-6746:
-----------------------------------

It seems that we have duplicated message _"Your SSL configuration disables 
hostname validation..."_ in logs. After including fix for GEODE-7018 it exclude 
this fix as a new method and called it also in _handshakeSSLSocketChannel_. As 
it has new SocketCreator it will have *hostnameValidationDisabledLogShown* 
equals *false* and print this log again. So maybe we need to set this flag to 
*true* in _handshakeSSLSocketChannel_ to avoid duplicated message.

> Hostname validation disabled log should be shown once.
> ------------------------------------------------------
>
>                 Key: GEODE-6746
>                 URL: https://issues.apache.org/jira/browse/GEODE-6746
>             Project: Geode
>          Issue Type: Bug
>          Components: security
>            Reporter: Nabarun Nag
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> On repeated connect method call the "hostname validation disabled due to SSL 
> configuration" log is shown multiple times.
> Show this log once and also as at info level.
> {noformat}
> [warning 2019/03/15 14:35:20.686 EDT vcld014096 <WAN Locator Discovery 
> Thread4> tid=0x73] Your SSL configuration disables hostname validation. 
> ssl-endpoint-identification-enabled should be set to true when SSL is 
> enabled. Please refer to the Apache GEODE SSL Documentation for SSL Property: 
> ssl‑endpoint
> ‑identification‑enabled {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to