Skip to content

Allow All hostname when ssl set insecure#34

Open
luyuncheng wants to merge 2 commits intoapache:mainfrom
luyuncheng:HostnameVerify
Open

Allow All hostname when ssl set insecure#34
luyuncheng wants to merge 2 commits intoapache:mainfrom
luyuncheng:HostnameVerify

Conversation

@luyuncheng
Copy link
Copy Markdown

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

Allow All hostname when ssl set insecure
@boring-cyborg
Copy link
Copy Markdown

boring-cyborg Bot commented Nov 15, 2023

Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant