flink-connector-opensearch icon indicating copy to clipboard operation
flink-connector-opensearch copied to clipboard

Allow All hostname when ssl set insecure

Open luyuncheng opened this issue 1 year ago • 1 comments

Allow All hostname when ssl set insecure

when we have flink job we insecure cert, we use setAllowInsecure to trust all cert. but when we using hostname like: "https://ip:port" instead of domain. it shows : Host name 'IPV4/IPV6' does not match the certificate subject provided by the peer which is www.xxx.domain

so when setAllowInsecure we can use ALLOW_ALL_HOSTNAME_VERIFIER

luyuncheng avatar Nov 15 '23 15:11 luyuncheng