HypixelDev / PublicAPI

Official Java implementation of the Hypixel Public API.
https://api.hypixel.net
MIT License
533 stars 152 forks source link

SSL Error #539

Closed grahhnt closed 2 years ago

grahhnt commented 2 years ago

As of yesterday the PublicAPI library causes an SSL error while accessing api.hypixel.net. It appears that yesterday the SSL cert was updated.

I'm using the library in a Minecraft 1.8.9 mod

java.util.concurrent.ExecutionException: java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
grahhnt commented 2 years ago

image SSL cert for api.hypixel.net

DevBefell commented 2 years ago

Having similar issues, this makes the api unusable which is inconvenient for mod developers.

ConnorLinfoot commented 2 years ago

Hey, this was caused due to Cloudflare issuing a Let's Encrypt certificate (which is not supported in older versions of Java 8). We have had a different CA issued certificate to now resolve this.