-
Notifications
You must be signed in to change notification settings - Fork 85
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
[Master] Add support for configuring server name to be used in the SSL SNI extension #2234
Conversation
ballerina-tests/http-security-tests/tests/ssl_sni_host_name_test.bal
Outdated
Show resolved
Hide resolved
ballerina-tests/http-security-tests/tests/ssl_sni_host_name_test.bal
Outdated
Show resolved
Hide resolved
ballerina-tests/http-security-tests/tests/ssl_sni_host_name_test.bal
Outdated
Show resolved
Hide resolved
ballerina-tests/http-security-tests/tests/ssl_sni_host_name_test.bal
Outdated
Show resolved
Hide resolved
ballerina-tests/http-security-tests/tests/ssl_sni_host_name_test.bal
Outdated
Show resolved
Hide resolved
http:ClientConfiguration http1SniClientConf = { | ||
httpVersion: http:HTTP_1_1, | ||
secureSocket: { | ||
cert: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we have a test without the cert i.e. with JVM default certs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot configure only the serverName
in the secureSocket
config. It gives a runtime error.
Need to configure cert with client SSL certificates file
I think this is a bug. :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is the usecase for the internal issue. I think we need to fix it as well. Lets address that in a separate issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I'll fix that as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Quality Gate passedIssues Measures |
Purpose
Add support for configuring the server name to be used in the SSL SNI extension.
Related issue: ballerina-platform/ballerina-library#7435
Examples
Checklist