<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Thanks for your help!<br>
    <br>
    The builds were running on physically different machines on
    travis-ci, but the OS was the same. <br>
    According to the Maven logs for example this jar was downloaded (not
    cached) successfully:<br>
    ```<br>
    <pre id="log" class="ansi log-body-content"><span id="0-4377">Downloaded from osgeo: <a class="moz-txt-link-freetext" href="https://repo.osgeo.org/repository/release/org/geotools/gt-shapefile/26.1/gt-shapefile-26.1.jar">https://repo.osgeo.org/repository/release/org/geotools/gt-shapefile/26.1/gt-shapefile-26.1.jar</a> (239 kB at 26 kB/s)</span></pre>
    ```<br>
    I'll try to follow your advice and check the SSL certificates.<br>
    <br>
    Best regards,<br>
    Andreas<br>
    <br>
    <div class="moz-cite-prefix">On 09.12.21 02:08, Regina Obe wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:002e01d7ec99$49bfffb0$dd3fff10$@pcorp.us">
      <pre class="moz-quote-pre" wrap="">This sounds like it might be an SSL issue.

We had issues with the certs cause we are using Letsencrypt and the
Letsencrypt root certificate expired as detailed here:
<a class="moz-txt-link-freetext" href="https://docs.certifytheweb.com/docs/kb/kb-202109-letsencrypt/">https://docs.certifytheweb.com/docs/kb/kb-202109-letsencrypt/</a>

That necessitated updating all the servers and on my projects I had to
update the docker images we were using.

So I'm guessing your openjdk might be linked to some old certs.
It's odd you are having issue with the newer one and not the older though.

Are you running both on same server?

Usually an OS update (for newer OS) fixes the issue.
Unfortunately I don't know much about Java to know things like what cert
path it uses or even how to test maven.

I'm also puzzled that some artifacts are downloaded and some are not. 
Are these by chance maybe cached and it's the newer artifacts you are having
issue with?

Hope that help,
Regina



</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">-----Original Message-----
From: Sac [<a class="moz-txt-link-freetext" href="mailto:sac-bounces@lists.osgeo.org">mailto:sac-bounces@lists.osgeo.org</a>] On Behalf Of Andreas Barth
Sent: Wednesday, December 8, 2021 6:01 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:sac@lists.osgeo.org">sac@lists.osgeo.org</a>
Subject: [SAC] 'peer not authenticated' error when trying to use
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">repo.osgeo.org
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
I'm using this artifact in a Maven project:

```
<dependency>
   <groupId>org.geotools</groupId>
   <artifactId>gt-shapefile</artifactId>
   <version>26.1</version>
</dependency>
```

I included the OSGeo repository in my `pom.xml` file like this:

```
<repository>
   <id>osgeo</id>
   <name>OSGeo Release Repository</name>
   <url><a class="moz-txt-link-freetext" href="https://repo.osgeo.org/repository/release/">https://repo.osgeo.org/repository/release/</a></url>
   <snapshots><enabled>false</enabled></snapshots>
   <releases><enabled>true</enabled></releases>
</repository>
```

Running `mvn clean install` on Travis I get the following error:

```
Could not transfer artifact org.geotools:gt-metadata:jar:26.1 from/to
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">osgeo
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">(<a class="moz-txt-link-freetext" href="https://repo.osgeo.org/repository/release/">https://repo.osgeo.org/repository/release/</a>): peer not authenticated ```

Strangely, this does work using openjdk8, but not openjdk11. Also it seems
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">that
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">some artifacts are downloaded from repo.osgeo.org without problems, but
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">for
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">some I receive the above error.

Can you give any advice how to fix or further debug this?

And a bonus question: Are there any plans to or reasons against publishing
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">the
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">geotools artifacts on Maven Central?

Thanks in advance and best regards,
Andreas
_______________________________________________
Sac mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sac@lists.osgeo.org">Sac@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/sac">https://lists.osgeo.org/mailman/listinfo/sac</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
_______________________________________________
Sac mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sac@lists.osgeo.org">Sac@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/sac">https://lists.osgeo.org/mailman/listinfo/sac</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>