core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

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

Open josegar74 opened this issue 5 years ago • 3 comments

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

josegar74 avatar Feb 21 '20 13:02 josegar74

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

fxprunayre avatar Mar 03 '20 13:03 fxprunayre

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).

pmauduit avatar Mar 03 '20 15:03 pmauduit

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.

josegar74 avatar Mar 04 '20 09:03 josegar74