Dear list,

I am replying to myself, to report the solution that I found for the issue.

The problem was that as java version we are using is old (8u131), and it had no support for more recent SSL certificates used by the GBIF. The solution was to update java to recognize the GBIF certificate. For that, I followed the directions by https://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed/.

Before doing that, I also updated java to a more recent version (8u402), by Amazon Correto, as pointed out by colleagues from GBIF France, but it seemed that alone this was not to be sufficient to solve the problem.

Best,

Rui

------------------

Rui Figueira
Coordenador do Nó Português do GBIF
ruifigueira@isa.ulisboa.pt
Instituto Superior de Agronomia
Herbário
Tapada da Ajuda, 1349-017 Lisboa, Portugal
Tel. +351 213653165 | Fax. +351 213653195
http://www.gbif.pt
http://www.isa.ulisboa.pt
On 4/3/24 18:00, Rui Figueira via IPT wrote:

Dear IPT list,

My IPT 2.7.6 installation on a debian server with java JRE 8 and tomcat7 show the following error:

An IO error occurred while trying to communicate with the GBIF Registry. [https://gbrds.gbif.org/registry/network.json]

When I did a restart of the tomcat service, I got the following error in the log file

ERROR 03-Apr-2024 17:29:35 [org.gbif.ipt.service.admin.impl.VocabulariesManagerImpl] - An IO error occurred while trying to communicate with the GBIF Registry. [https://gbrds.gbif.org/registry/thesauri.json]
org.gbif.ipt.service.RegistryException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

As a consequence, the IPT is unable to show any of the existing resources.

Have you seen this error, and know how to solve it? Notice that the server has no ssl certificate installed.

Thanks,

Rui

--

------------------

Rui Figueira
Coordenador do Nó Português do GBIF
ruifigueira@isa.ulisboa.pt
Instituto Superior de Agronomia
Herbário
Tapada da Ajuda, 1349-017 Lisboa, Portugal
Tel. +351 213653165 | Fax. +351 213653195
http://www.gbif.pt
http://www.isa.ulisboa.pt

_______________________________________________
IPT mailing list
IPT@lists.gbif.org
https://lists.gbif.org/mailman/listinfo/ipt