geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
429 stars 489 forks source link

Build in a clean computer can't download mapfish-print #4461

Open josegar74 opened 4 years ago

josegar74 commented 4 years ago

Tested in 3.10.x, but probably the same in master, building in a clean machine the following error happens, seem some issue with the certificate of the repository for mapfish-print

image_2020_02_21T13_01_04_192Z

fxprunayre commented 4 years ago

Can you try again ? sometimes the site is sometimes down - eg. 29/01 (from @cmangeat ).

pmauduit commented 4 years ago

the maven output seems to indicate that the server's certificate name does not match (packages.georchestra.org != docker.georchestra.org).

The default advertised certificate is indeed docker.georchestra.org, but we also provide a certificate for packages.georchestra.org:

% openssl s_client -connect packages.georchestra.org:443 -servername packages.georchestra.org
[....]
-----END CERTIFICATE-----
subject=/CN=packages.georchestra.org

something seems wrong in the way your maven is doing SNI (https://en.wikipedia.org/wiki/Server_Name_Indication).

josegar74 commented 4 years ago

I'll check to update the maven version in the computer we're using for the build, for now solved copying the artifact from other computer where was installed already.