Closed NightKosh closed 6 years ago
1) export "https://files.minecraftforge.net/" certificate 2) place it to the "%JAVA_HOME%/jre/lib/security/" 3) import the certificate into java keystore by next command:
keytool -import -alias <the short name of the server> -file <cert_file_name_you_exported.cer> -keystore cacerts -storepass changeit
4) add to the project's "gradle.properties":
systemProp.javax.net.ssl.trustStore=%JAVA_HOME%/jre/lib/security/cacerts
systemProp.javax.net.ssl.trustStorePassword=changeit