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

[2201.5.x] Add support for configuring server name to be used in the SSL SNI extension #2235

Merged
merged 20 commits into from
Dec 5, 2024

Conversation

Bhashinee
Copy link
Member

@Bhashinee Bhashinee commented Dec 4, 2024

Purpose

Add support for configuring the server name to be used in the SSL SNI extension.
Related issue: ballerina-platform/ballerina-library#7435

Introduced a new field named serverName in the secureSocket config under ClientConfiguration.

Examples

http:ClientConfiguration clientConf = {
    secureSocket: {
        cert: {
            path: common:TRUSTSTORE_PATH,
            password: "ballerina"
        },
        serverName: "localhost"
    }
};

@shafreenAnfar @TharmiganK I used serverName as the field name as it is the name that has been used in the Go language as well. If you have any concerns with the name, please suggest.

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility
  • Checked the impact on OpenAPI generation

changelog.md Outdated Show resolved Hide resolved
changelog.md Show resolved Hide resolved
Copy link

sonarqubecloud bot commented Dec 5, 2024

@TharmiganK TharmiganK merged commit b3c546d into ballerina-platform:2201.5.x Dec 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants