- Notifications
You must be signed in to change notification settings - Fork16
refactor: remove unnecessary SNI manipulation from SSL socket factory#582
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
In our codebase we currently have two layers of custom logic:- one that alters the SNI in the ClientHello (via a custom SSLSocketFactory)- another that compares an alternate hostname against the SAN entries during client-side certificate verification.This work was done for one of Coder's clients that wants to do auth via certificates instead of API tokens. After recentdiscussions it turns out the SNI manipulation is not needed, we only need to do custom certificate validation.
Qodana Community for JVM33 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get -name:'Qodana Scan'uses:JetBrains/qodana-action@v2023.3.2with:upload-result:true Contact Qodana teamContact us atqodana-support@jetbrains.com
|
In our codebase we currently have two layers of custom logic:
This work was done for one of Coder's clients that wants to do auth via certificates instead of API tokens. After recent discussions it turns out the SNI manipulation is not needed, we only need to do custom certificate validation.