This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEXUS-6838: "Rude" fix, adding SNI to TLS/HTTPS
This is the "rude" way as described in HTTPCLIENT-1119. Other solution is described in other comment, in short: create "plain" socket, and then wrap that socket with SSLSocket, but for that to work you'd need to have host dedicated SSLContext (for each HOST you access). SNI works only on Java7+
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters