flink-connector-opensearch
flink-connector-opensearch copied to clipboard
Allow All hostname when ssl set insecure
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