Closed craigrose closed 2 years ago
Testing branch
aodn-portal$ cp /etc/ssl/certs/java/cacerts ./ aodn-portal$ docker build . -f Dockerfile.dev aodn-portal$ docker-compose up debug
Upon opening http://localhost:8080/search I still receive:
debug_1 | ERROR 2022-04-07 08:49:58,876 [http-bio-8080-exec-7] grails.app.controllers.au.org.emii.portal.ProxyController - Could not reach https://catalogue-imos.aodn.org.au/geonetwork/srv/eng/xml.search.imos?protocol=OGC%3AWMS-1.1.1-http-get-map%20or%20OGC%3AWMS-1.3.0-http-get-map%20or%20IMOS%3ANCWMS--proto&sortBy=popularity&from=1&to=30&fast=index sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Did I miss something? Is my JRE too old or something. It's
java-11-openjdk-amd64
?Happy to approve, just wanted to check first.
It should be the jdk inside the docker that runs the app do not have valid cert to trust the mentioned website above.
The certificates required for any given dev situation is highly varied so we leave it up to the developer to acquire and make available the needed certs.
When this is done you should be able to go to http://localhost:8080/search without any http 5xx errors
Note that there is new content in the readme on this