You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occurs because Java does not trust the SSL certificate of the server from which the client is trying to fetch metadata. It typically happens when the server's certificate is not in Java's TrustStore.
Reply to the user:
The error occurs because Java does not trust the server's SSL certificate. To resolve this issue, follow these steps:
1. Ensure the server's certificate is valid.
2. If the certificate is self-signed or issued by an untrusted Certificate Authority (CA), download the certificate and add it to Java's TrustStore (cacerts).
Command to add the certificate:
By default, `cacerts` is located in the Java directory: `<java_home>/lib/security/cacerts`.
3. Make sure you're using the correct Java version to run the application.
4. If the issue persists, check the configuration of the authlib-injector client.
The default password for `cacerts` is `changeit`. After adding the certificate, restart the application.
If you are setting up the server, make sure the SSL certificate is properly installed and is issued by a trusted Certificate Authority (CA).
[authlib-injector] [INFO] Logging file: C:\Users\User\Desktop\authlib-injector.log
[authlib-injector] [INFO] Version: 1.2.5
[authlib-injector] [INFO] Authentication server: https://ely.by
[authlib-injector] [ERROR] Failed to fetch metadata: 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
The text was updated successfully, but these errors were encountered: