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

SLCORE-686 Don't load OS-specific SSL store on Windows #902

Conversation

vojtech-suchy-sonarsource
Copy link
Contributor

No description provided.

@@ -105,6 +108,10 @@ private static SSLContext configureSsl(SslConfig sslConfig, @Nullable Predicate<
return sslFactoryBuilder.build().getSslContext();
}

private static boolean isNotWindows() {
return System.getProperty("os.name") != null && !System.getProperty("os.name").startsWith("Windows");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe adding a dependency on commons-lang3 and using SystemUtils would be safer/more maintainable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was pondering that as well

@vojtech-suchy-sonarsource vojtech-suchy-sonarsource force-pushed the fix/vs/SLCORE-686_loading_system_certs_on_windows branch 3 times, most recently from 19269c4 to 4637a38 Compare March 21, 2024 12:13
Copy link
Contributor

@damien-urruty-sonarsource damien-urruty-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vojtech-suchy-sonarsource vojtech-suchy-sonarsource force-pushed the fix/vs/SLCORE-686_loading_system_certs_on_windows branch from 4637a38 to 74ce43b Compare March 26, 2024 10:49
@vojtech-suchy-sonarsource vojtech-suchy-sonarsource force-pushed the fix/vs/SLCORE-686_loading_system_certs_on_windows branch from 74ce43b to d450e8f Compare March 26, 2024 12:11
@vojtech-suchy-sonarsource vojtech-suchy-sonarsource merged commit bfcf969 into master Mar 26, 2024
11 checks passed
@vojtech-suchy-sonarsource vojtech-suchy-sonarsource deleted the fix/vs/SLCORE-686_loading_system_certs_on_windows branch March 26, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants