PKIX path building failed

Hi all,

Using OH3.2 on a RPI4, I fetch some weather data from an internet site using the http addon. It was all working okay for more than a year now, suddenly I get this error:

failed: PKIX path building failed: unable to find valid certification path to requested target

Is there a way to avoid this ? The url is https:// but the error persists if I change it to http://. In the browser on my host PC both versions are working fine.

  • is the certificate expired ?
  • does the browser ( to be precise it is the server that may send a redirect ) do a redirection from http to https ?
  • which URL do you use ?