sirjonasxx / G-Earth

Cross-platform Habbo packet manipulator
MIT License
88 stars 47 forks source link

Disable SSL certificate validation for Nitro websocket connection #149

Closed UnfamiliarLegacy closed 1 year ago

UnfamiliarLegacy commented 1 year ago

Fixes the following exception:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This pull request disables SSL certificate validation for Nitro Websocket connections. I also rewrote the G-Earth <-> Hotel connection to use jetty websockets instead of javax websockets.

This pull request might also fix #148.