edvin / fxlauncher

Auto updating launcher for JavaFX Applications
Apache License 2.0
713 stars 110 forks source link

App is not starting. Certification error. #138

Closed Mistral closed 6 years ago

Mistral commented 6 years ago

Hello,

I'm using newest version of fxlauncher. I'm getting errors during app start (Error during File Synchronization phase):

Caused by: sun.security.validator.ValidatorException: No trusted certificate found
    at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:397)
    at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:134)
    at sun.security.validator.Validator.validate(Validator.java:262)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1596)
    ... 16 more
edvin commented 6 years ago

It seems like you have specified an https URL with either no valid certificate, or a certificate not accepted by the trust store in your Java installation.

Mistral commented 6 years ago

Ok thanks, it's working now.

Solution: https://stackoverflow.com/questions/2893819/accept-servers-self-signed-ssl-certificate-in-java-client

edvin commented 6 years ago

Great, thanks for reporting back :)