You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add Let's Encrypt root certificates to the default SSLContext.
41
+
* CurseForge launcher uses the vanilla JDK for 1.7.10, which is version 8u51.
42
+
* This version does not include these certificates, support for ISRG Root X1 was added in 8u141.
43
+
* Based on <a href="https://github.com/Cloudhunter/LetsEncryptCraft/blob/2471391f7d081a8b7faed9e22051cab6352966fe/src/main/java/uk/co/cloudhunter/letsencryptcraft/LetsEncryptAdder.java">LetsEncryptCraft</a> by Cloudhunter (MIT)
44
+
*/
45
+
publicclassLetsEncryptHelper {
46
+
privatestaticvolatilebooleanpatched = false;
47
+
privateLetsEncryptHelper() {}
48
+
@SuppressWarnings("java:S6437")
49
+
publicstaticvoidreplaceSSLContext() {
50
+
if (!EarlyConfig.getInstance().enableLetsEncryptRoot()) {
0 commit comments