3

Always getting this error when I try to update my PostgreSql driver.

I found few StackOverflow questions about it but all solutions seems outdated and/or does not works for the most recent version of DBeaver 23.0.1. Many references to "java..." string in ".ini" are just not there.

The error:

Network error

Reason: Network unavailable due to certificate issue. Try changing the setting Use Windows trust store in Preferences->Connections and restart DBeaver. It might help if you haven't overridden trust store. javax.net.ssl.SSLHandshakeException:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Eric Ouellet
  • 10,996
  • 11
  • 84
  • 119
  • where you able to solve this issue ? – sushanth Jun 21 '23 at 17:29
  • 1
    I'm not sure 100% but it works well now. I re-install a newer version and I think it was working fine. It is also possible that is cause becuase our company is using a proxy which impersonify (the proxy simulate another person). The application detects the security issue due to impersonification (proxy) and prevent the installation/update. I think we need to install a certificate in order to make i works fine but I didn't do it. Another solution for the proxy is at the firewall, they let DBeaver pass directly (wihtout proxy). I think our security team did it (passthrough for DBeaver ). – Eric Ouellet Jun 22 '23 at 18:23
  • 1
    this should help https://stackoverflow.com/a/72178184/6505847 – AzyCrw4282 Jul 05 '23 at 14:13
  • 1
    @AzyCrw4282, That's sound good!!! I do not have the problem anymore but can you write an answer with you link and I will accept it. It sounds like being the actual best workaround. – Eric Ouellet Jul 06 '23 at 13:33

1 Answers1

1

I would suggest checking this answer here first. Option 1 should normally fix it.

If it still doesn't work then try installing a newer version if you are on an old one.

It is also possible to be blocked by a proxy. In such case, you would need to add a valid .crt file. Depending on the proxy, generate a .crt file ( should be fine with .pem type) and then add the file to the relevant directory (e.g., /etc/ssl/certs/<crt> ). save and restart should fix the proxy issue.

AzyCrw4282
  • 7,222
  • 5
  • 19
  • 35