diff --git a/gradle.properties b/gradle.properties index c98a773..8bba9d9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ mod_name=SkyClient Updater # Sets the id of your mod that mod loaders use to recognize it. mod_id=skyblockclientupdater # Sets the version of your mod. Make sure to update this when you make changes according to semver. -mod_version=1.3.3 +mod_version=1.3.5 # Sets the name of the jar file that you put in your 'mods' folder. mod_archives_name=SkyClient-Updater diff --git a/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt b/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt index 1b90b3e..a986144 100644 --- a/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt +++ b/src/main/kotlin/mynameisjeff/skyblockclientupdater/SkyClientUpdater.kt @@ -47,14 +47,14 @@ import javax.net.ssl.SSLContext progress.step("Fixing Modrinth SSL") try { var sslStore = SSLStore() - println("Attempting to load Modrinth certificate.") - sslStore = sslStore.load("/modrinth.com.der") + println("Attempting to load Let's Encrypt certificate.") + sslStore = sslStore.load("/isrg-root-x2.der") val context: SSLContext = sslStore.finish() SSLContext.setDefault(context) HttpsURLConnection.setDefaultSSLSocketFactory(context.socketFactory) } catch (e: Exception) { e.printStackTrace() - println("Failed to add Modrinth certificate to keystore.") + println("Failed to add Let's Encrypt certificate to keystore.") } progress.step("Downloading helper utility") UpdateChecker.INSTANCE.downloadHelperTask() diff --git a/src/main/resources/isrg-root-x2.der b/src/main/resources/isrg-root-x2.der new file mode 100644 index 0000000..0f5f95f Binary files /dev/null and b/src/main/resources/isrg-root-x2.der differ diff --git a/src/main/resources/modrinth.com.der b/src/main/resources/modrinth.com.der deleted file mode 100644 index 21f1742..0000000 Binary files a/src/main/resources/modrinth.com.der and /dev/null differ