-
Notifications
You must be signed in to change notification settings - Fork 144
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
8065422: Trailing dot in hostname causes TLS handshake to fail with SNI disabled #205
8065422: Trailing dot in hostname causes TLS handshake to fail with SNI disabled #205
Conversation
👋 Welcome back rmarchenko! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
@wkia This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 63 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@yan-too, @gnu-andrew) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
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.
Clean backport, simple bug fix.
This has a |
/clean |
@gnu-andrew This backport pull request is now marked as clean |
The original changes use JDK17 strings in I will update the related PRs accordingly. |
Pre-submit test failures look like an infrastructure issue. @wkia, the backport has been approved, so if you add a "/integrate" comment, I or another committer can sponsor it. |
/integrate |
/sponsor |
Going to push as commit 5525464.
Your commit was automatically rebased without conflicts. |
@phohensee @wkia Pushed as commit 5525464. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Almost clean backport.
JDK8 has the same issue with processing host names for SNI. It'd be good to keep JDK8 up to date with the upstream. No risks.
There were 2 changes with test files paths:
test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java
added and moved tojdk/test/javax/net/ssl/ServerName/EndingDotHostname.java
.test/jdk/javax/net/ssl/templates/SSLExampleCert.java
added and moved tojdk/test/javax/net/ssl/templates/SSLExampleCert.java
.And the original changes use JDK17 strings in
SSLExampleCert.java
, so it was adapted for JDK8 withthe additional commit as it was done for JDK11 backport.Please note that new test added by the change fails for now because of the certs are expired in March, 2022. To fix this, there are additional JDK fixes being backported as dependant PRs
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev pull/205/head:pull/205
$ git checkout pull/205
Update a local copy of the PR:
$ git checkout pull/205
$ git pull https://git.openjdk.org/jdk8u-dev pull/205/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 205
View PR using the GUI difftool:
$ git pr show -t 205
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/205.diff