Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow All hostname when ssl set insecure #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

luyuncheng
Copy link

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
Copy link

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
1 participant