New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSLPeerUnverifiedException: Hostname api.koios.rest not verified (no certificates) #44
Comments
The certificate is letsencrypt signed. If you have troubles, it's possible you may not have recent enough CA certs on your Java truststore (alternatively, you can always add cert to your trust store) |
I have downloaded base64 certificate chain like below Imported downloaded cer using below java command but still im getting same error. Can you help me to fix it, please ? |
When importing certs to trust store, it's always better to extract root/Intermedia certificates instead of server certificate, you can extract those using openssl |
@rdlrt |
Thanks for your help. I have tried root & CA certificates but didn't worked. |
Jar version -
io.github.cardano-community
koios-java-client
1.10
Java Version - jdk-11.0.2
What operating system are you using, and which version?
Steps to Reproduce
Expected Behavior
It should not give error - SSLPeerUnverifiedException: Hostname api.koios.rest not verified (no certificates)
Actual Behavior
Sometime service gives below error
The text was updated successfully, but these errors were encountered: